diff --git a/lib/builder/webpack/base.config.js b/lib/builder/webpack/base.config.js index 8a1d3e439c..657e1a726d 100644 --- a/lib/builder/webpack/base.config.js +++ b/lib/builder/webpack/base.config.js @@ -53,9 +53,9 @@ export default function webpackBaseConfig ({ isClient, isServer }) { '@': join(this.options.srcDir), '@@': join(this.options.rootDir), 'static': join(this.options.srcDir, 'static'), - '~static': join(this.options.srcDir, 'static'), + '/static': join(this.options.srcDir, 'static'), 'assets': join(this.options.srcDir, 'assets'), - '~assets': join(this.options.srcDir, 'assets') + '/assets': join(this.options.srcDir, 'assets') }, modules: [ this.options.modulesDir,