mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-16 19:04:48 +00:00
16 lines
308 B
JavaScript
16 lines
308 B
JavaScript
import WebpackClientConfig from './client'
|
|
|
|
export default class WebpackModernConfig extends WebpackClientConfig {
|
|
constructor (...args) {
|
|
super(...args)
|
|
this.name = 'modern'
|
|
this.isModern = true
|
|
}
|
|
|
|
env () {
|
|
return Object.assign(super.env(), {
|
|
'process.modern': true
|
|
})
|
|
}
|
|
}
|