diff --git a/lib/webpack/base.config.js b/lib/webpack/base.config.js index 5d560d306d..c27efb6e49 100644 --- a/lib/webpack/base.config.js +++ b/lib/webpack/base.config.js @@ -35,7 +35,7 @@ export default function ({ isClient, isServer }) { '~': join(this.srcDir), 'static': join(this.srcDir, 'static'), // use in template with '~static': join(this.srcDir, 'static'), - 'assets': join(this.srcDir, 'assets'), // use in template with + 'assets': join(this.srcDir, 'assets'), // use in template with '~assets': join(this.srcDir, 'assets'), '~plugins': join(this.srcDir, 'plugins'), '~store': join(this.dir, '.nuxt/store'),