mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(pkg): preferConst -> output.preferConst
This commit is contained in:
parent
ee0a84c83c
commit
7fc4ba28da
@ -32,9 +32,9 @@ export default function rollupConfig({
|
||||
output: {
|
||||
file: `${pkg.name.replace('-edge', '')}.js`,
|
||||
dir: path.resolve(rootDir, 'dist'),
|
||||
format: 'cjs'
|
||||
format: 'cjs',
|
||||
preferConst: true
|
||||
},
|
||||
preferConst: true,
|
||||
external: [
|
||||
// Dependencies that will be installed alongise with the nuxt package
|
||||
...Object.keys(pkg.dependencies || {}),
|
||||
|
Loading…
Reference in New Issue
Block a user