Nuxt/packages/webpack/package.js

25 lines
529 B
JavaScript
Raw Normal View History

export default {
build: true,
externals: [
'webpack/lib/util/objectToMap'
],
ignoreUnused: [
'@nuxt/babel-preset-app',
2020-12-22 20:05:25 +00:00
'@babel/core', // peerDependency of babel-loader
'babel-loader',
'cache-loader',
'caniuse-lite',
'css-loader',
'cssnano',
'eventsource-polyfill',
'file-loader',
'postcss-loader',
'postcss-preset-env',
'postcss-url',
'style-resources-loader',
2020-12-23 00:37:44 +00:00
'vue-style-loader', // vue-loader
'vue-template-compiler', // vue-loader
'url-loader'
]
}