代码拉取完成,页面将自动刷新
{
mode: 'development',
context: 'E:\\atguigu\\practice\\vue_cli\\sph',
node: {
setImmediate: false,
process: 'mock',
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty'
},
output: {
path: 'E:\\atguigu\\practice\\vue_cli\\sph\\dist',
filename: 'js/[name].js',
publicPath: '/',
chunkFilename: 'js/[name].js'
},
resolve: {
alias: {
'@': 'E:\\atguigu\\practice\\vue_cli\\sph\\src',
vue$: 'vue/dist/vue.runtime.esm.js',
components: 'E:\\atguigu\\practice\\vue_cli\\sph\\src\\components',
pages: 'E:\\atguigu\\practice\\vue_cli\\sph\\src\\pages',
router: 'E:\\atguigu\\practice\\vue_cli\\sph\\src\\router',
routes: 'E:\\atguigu\\practice\\vue_cli\\sph\\src\\routes',
store: 'E:\\atguigu\\practice\\vue_cli\\sph\\src\\store',
api: 'E:\\atguigu\\practice\\vue_cli\\sph\\src\\api'
},
extensions: [
'.mjs',
'.js',
'.jsx',
'.vue',
'.json',
'.wasm'
],
modules: [
'node_modules',
'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules',
'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\@vue\\cli-service\\node_modules'
],
plugins: [
{
apply: function nothing() {
// 炉\_(銉?_/炉
},
makePlugin: function () { /* omitted long function */ },
moduleLoader: function () { /* omitted long function */ },
topLevelLoader: {
apply: function nothing() {
// 炉\_(銉?_/炉
}
},
bind: function () { /* omitted long function */ },
tsLoaderOptions: function () { /* omitted long function */ },
forkTsCheckerOptions: function () { /* omitted long function */ }
}
]
},
resolveLoader: {
modules: [
'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\@vue\\cli-plugin-babel\\node_modules',
'node_modules',
'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules',
'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\@vue\\cli-service\\node_modules'
],
plugins: [
{
apply: function nothing() {
// 炉\_(銉?_/炉
}
}
]
},
module: {
noParse: /^(vue|vue-router|vuex|vuex-router-sync)$/,
rules: [
/* config.module.rule('vue') */
{
test: /\.vue$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\cache-loader\\dist\\cjs.js',
options: {
cacheDirectory: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\.cache\\vue-loader',
cacheIdentifier: '0e6d833b'
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-loader\\lib\\index.js',
options: {
compilerOptions: {
whitespace: 'condense'
},
cacheDirectory: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\.cache\\vue-loader',
cacheIdentifier: '0e6d833b'
}
}
]
},
/* config.module.rule('images') */
{
test: /\.(png|jpe?g|gif|webp)(\?.*)?$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\url-loader\\dist\\cjs.js',
options: {
limit: 4096,
fallback: {
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\file-loader\\dist\\cjs.js',
options: {
name: 'img/[name].[hash:8].[ext]'
}
}
}
}
]
},
/* config.module.rule('svg') */
{
test: /\.(svg)(\?.*)?$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\file-loader\\dist\\cjs.js',
options: {
name: 'img/[name].[hash:8].[ext]'
}
}
]
},
/* config.module.rule('media') */
{
test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\url-loader\\dist\\cjs.js',
options: {
limit: 4096,
fallback: {
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\file-loader\\dist\\cjs.js',
options: {
name: 'media/[name].[hash:8].[ext]'
}
}
}
}
]
},
/* config.module.rule('fonts') */
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/i,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\url-loader\\dist\\cjs.js',
options: {
limit: 4096,
fallback: {
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\file-loader\\dist\\cjs.js',
options: {
name: 'fonts/[name].[hash:8].[ext]'
}
}
}
}
]
},
/* config.module.rule('pug') */
{
test: /\.pug$/,
oneOf: [
/* config.module.rule('pug').rule('pug-vue') */
{
resourceQuery: /vue/,
use: [
{
loader: 'pug-plain-loader'
}
]
},
/* config.module.rule('pug').rule('pug-template') */
{
use: [
{
loader: 'raw-loader'
},
{
loader: 'pug-plain-loader'
}
]
}
]
},
/* config.module.rule('css') */
{
test: /\.css$/,
oneOf: [
/* config.module.rule('css').rule('vue-modules') */
{
resourceQuery: /module/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
},
/* config.module.rule('css').rule('vue') */
{
resourceQuery: /\?vue/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
},
/* config.module.rule('css').rule('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
},
/* config.module.rule('css').rule('normal') */
{
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
}
]
},
/* config.module.rule('postcss') */
{
test: /\.p(ost)?css$/,
oneOf: [
/* config.module.rule('postcss').rule('vue-modules') */
{
resourceQuery: /module/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
},
/* config.module.rule('postcss').rule('vue') */
{
resourceQuery: /\?vue/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
},
/* config.module.rule('postcss').rule('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
},
/* config.module.rule('postcss').rule('normal') */
{
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
}
]
}
]
},
/* config.module.rule('scss') */
{
test: /\.scss$/,
oneOf: [
/* config.module.rule('scss').rule('vue-modules') */
{
resourceQuery: /module/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('scss').rule('vue') */
{
resourceQuery: /\?vue/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('scss').rule('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('scss').rule('normal') */
{
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
}
]
},
/* config.module.rule('sass') */
{
test: /\.sass$/,
oneOf: [
/* config.module.rule('sass').rule('vue-modules') */
{
resourceQuery: /module/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
},
/* config.module.rule('sass').rule('vue') */
{
resourceQuery: /\?vue/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
},
/* config.module.rule('sass').rule('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
},
/* config.module.rule('sass').rule('normal') */
{
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
}
]
},
/* config.module.rule('less') */
{
test: /\.less$/,
oneOf: [
/* config.module.rule('less').rule('vue-modules') */
{
resourceQuery: /module/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('less').rule('vue') */
{
resourceQuery: /\?vue/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('less').rule('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('less').rule('normal') */
{
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
}
]
},
/* config.module.rule('stylus') */
{
test: /\.styl(us)?$/,
oneOf: [
/* config.module.rule('stylus').rule('vue-modules') */
{
resourceQuery: /module/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
},
/* config.module.rule('stylus').rule('vue') */
{
resourceQuery: /\?vue/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
},
/* config.module.rule('stylus').rule('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
},
/* config.module.rule('stylus').rule('normal') */
{
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\vue-style-loader\\index.js',
options: {
sourceMap: false,
shadowMode: false
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false,
plugins: [
function () { /* omitted long function */ }
]
}
},
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
}
]
},
/* config.module.rule('js') */
{
test: /\.m?jsx?$/,
exclude: [
function () { /* omitted long function */ }
],
use: [
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\cache-loader\\dist\\cjs.js',
options: {
cacheDirectory: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\.cache\\babel-loader',
cacheIdentifier: '6d3374cc'
}
},
{
loader: 'E:\\atguigu\\practice\\vue_cli\\sph\\node_modules\\babel-loader\\lib\\index.js'
}
]
}
]
},
optimization: {
splitChunks: {
cacheGroups: {
vendors: {
name: 'chunk-vendors',
test: /[\\/]node_modules[\\/]/,
priority: -10,
chunks: 'initial'
},
common: {
name: 'chunk-common',
minChunks: 2,
priority: -20,
chunks: 'initial',
reuseExistingChunk: true
}
}
},
minimizer: [
{
options: {
test: /\.m?js(\?.*)?$/i,
chunkFilter: () => true,
warningsFilter: () => true,
extractComments: false,
sourceMap: true,
cache: true,
cacheKeys: defaultCacheKeys => defaultCacheKeys,
parallel: true,
include: undefined,
exclude: undefined,
minify: undefined,
terserOptions: {
output: {
comments: /^\**!|@preserve|@license|@cc_on/i
},
compress: {
arrows: false,
collapse_vars: false,
comparisons: false,
computed_props: false,
hoist_funs: false,
hoist_props: false,
hoist_vars: false,
inline: false,
loops: false,
negate_iife: false,
properties: false,
reduce_funcs: false,
reduce_vars: false,
switches: false,
toplevel: false,
typeofs: false,
booleans: true,
if_return: true,
sequences: true,
unused: true,
conditionals: true,
dead_code: true,
evaluate: true
},
mangle: {
safari10: true
}
}
}
}
]
},
plugins: [
/* config.plugin('vue-loader') */
new VueLoaderPlugin(),
/* config.plugin('define') */
new DefinePlugin(
{
'process.env': {
NODE_ENV: '"development"',
BASE_URL: '"/"'
}
}
),
/* config.plugin('case-sensitive-paths') */
new CaseSensitivePathsPlugin(),
/* config.plugin('friendly-errors') */
new FriendlyErrorsWebpackPlugin(
{
additionalTransformers: [
function () { /* omitted long function */ }
],
additionalFormatters: [
function () { /* omitted long function */ }
]
}
),
/* config.plugin('html') */
new HtmlWebpackPlugin(
{
title: 'sph',
templateParameters: function () { /* omitted long function */ },
template: 'E:\\atguigu\\practice\\vue_cli\\sph\\public\\index.html'
}
),
/* config.plugin('preload') */
new PreloadPlugin(
{
rel: 'preload',
include: 'initial',
fileBlacklist: [
/\.map$/,
/hot-update\.js$/
]
}
),
/* config.plugin('prefetch') */
new PreloadPlugin(
{
rel: 'prefetch',
include: 'asyncChunks'
}
),
/* config.plugin('copy') */
new CopyPlugin(
[
{
from: 'E:\\atguigu\\practice\\vue_cli\\sph\\public',
to: 'E:\\atguigu\\practice\\vue_cli\\sph\\dist',
toType: 'dir',
ignore: [
'.DS_Store',
{
glob: 'index.html',
matchBase: false
}
]
}
]
)
],
entry: {
app: [
'./src/main.js'
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。