1
0

vue.config.js 623 B

1234567891011121314151617181920212223242526272829
  1. const WebpackShellPlugin = require('webpack-shell-plugin');
  2. module.exports = {
  3. pluginOptions: {
  4. 'style-resources-loader': {
  5. preProcessor: 'scss',
  6. patterns: []
  7. }
  8. },
  9. baseUrl: undefined,
  10. outputDir: undefined,
  11. assetsDir: undefined,
  12. runtimeCompiler: undefined,
  13. productionSourceMap: undefined,
  14. parallel: undefined,
  15. css: { extract: false },
  16. filenameHashing: false,
  17. chainWebpack: config => {
  18. config.optimization.delete('splitChunks')
  19. },
  20. configureWebpack: {
  21. plugins: [
  22. new WebpackShellPlugin({
  23. onBuildEnd: ['node finalize.js']
  24. })
  25. ]
  26. }
  27. }