diff --git a/examples/typescript/tsconfig.json b/examples/typescript/tsconfig.json index e2812a86cd..3a40a830cd 100644 --- a/examples/typescript/tsconfig.json +++ b/examples/typescript/tsconfig.json @@ -23,9 +23,7 @@ "~middleware/*": ["./middleware/*"], "~pages/*": ["./pages/*"], "~plugins/*": ["./plugins/*"], - "~static/*": ["./static/*"], - "~store": ["./.nuxt/store"], - "~router": ["./.nuxt/router"] + "~static/*": ["./static/*"] } } } diff --git a/lib/builder/webpack/base.config.js b/lib/builder/webpack/base.config.js index a5c0402376..ccb894ebd3 100644 --- a/lib/builder/webpack/base.config.js +++ b/lib/builder/webpack/base.config.js @@ -54,8 +54,6 @@ export default function webpackBaseConfig ({ isClient, isServer }) { 'assets': join(this.options.srcDir, 'assets'), // use in template with '~assets': join(this.options.srcDir, 'assets'), '~plugins': join(this.options.srcDir, 'plugins'), - '~store': join(this.options.buildDir, 'store'), - '~router': join(this.options.buildDir, 'router'), '~pages': join(this.options.srcDir, 'pages'), '~components': join(this.options.srcDir, 'components') },