mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore: remove comments
This commit is contained in:
parent
1d847c7514
commit
87f455b20b
@ -133,8 +133,6 @@ function baseResolve (ctx: WebpackConfigContext) {
|
|||||||
// TODO: this might be refactored as default modulesDir?
|
// TODO: this might be refactored as default modulesDir?
|
||||||
const webpackModulesDir = ['node_modules'].concat(ctx.options.modulesDir)
|
const webpackModulesDir = ['node_modules'].concat(ctx.options.modulesDir)
|
||||||
|
|
||||||
// console.log({webpackModulesDir})
|
|
||||||
|
|
||||||
ctx.config.resolve = {
|
ctx.config.resolve = {
|
||||||
extensions: ['.wasm', '.mjs', '.js', '.ts', '.json', '.vue', '.jsx', '.tsx'],
|
extensions: ['.wasm', '.mjs', '.js', '.ts', '.json', '.vue', '.jsx', '.tsx'],
|
||||||
alias: ctx.alias,
|
alias: ctx.alias,
|
||||||
@ -144,7 +142,7 @@ function baseResolve (ctx: WebpackConfigContext) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx.config.resolveLoader = {
|
ctx.config.resolveLoader = {
|
||||||
// modules: webpackModulesDir,
|
modules: webpackModulesDir,
|
||||||
...ctx.config.resolveLoader
|
...ctx.config.resolveLoader
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user