加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.json 47.27 KB
一键复制 编辑 原始数据 按行查看 历史
hhhhmin 提交于 2020-06-18 19:54 . build
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300
{
mode: 'production',
context: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima',
devtool: 'source-map',
node: {
setImmediate: false,
process: 'mock',
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty'
},
output: {
path: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\dist',
filename: 'js/[name].[contenthash:8].js',
publicPath: '/',
chunkFilename: 'js/[name].[contenthash:8].js'
},
resolve: {
alias: {
'@': 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\src',
vue$: 'vue/dist/vue.runtime.esm.js'
},
extensions: [
'.mjs',
'.js',
'.jsx',
'.vue',
'.json',
'.wasm'
],
modules: [
'node_modules',
'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules',
'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\@vue\\cli-service\\node_modules'
],
plugins: [
/* config.resolve.plugin('pnp') */
{}
]
},
resolveLoader: {
modules: [
'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\@vue\\cli-plugin-babel\\node_modules',
'node_modules',
'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules',
'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\@vue\\cli-service\\node_modules'
],
plugins: [
/* config.resolve.plugin('pnp-loaders') */
{}
]
},
module: {
noParse: /^(vue|vue-router|vuex|vuex-router-sync)$/,
rules: [
/* config.module.rule('vue') */
{
test: /\.vue$/,
use: [
/* config.module.rule('vue').use('cache-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\cache-loader\\dist\\cjs.js',
options: {
cacheDirectory: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\.cache\\vue-loader',
cacheIdentifier: '1314db05'
}
},
/* config.module.rule('vue').use('vue-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\vue-loader\\lib\\index.js',
options: {
compilerOptions: {
whitespace: 'condense'
},
cacheDirectory: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\.cache\\vue-loader',
cacheIdentifier: '1314db05'
}
}
]
},
/* config.module.rule('images') */
{
test: /\.(png|jpe?g|gif|webp)(\?.*)?$/,
use: [
/* config.module.rule('images').use('url-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\url-loader\\dist\\cjs.js',
options: {
limit: 4096,
fallback: {
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\file-loader\\dist\\cjs.js',
options: {
name: 'img/[name].[hash:8].[ext]'
}
}
}
}
]
},
/* config.module.rule('svg') */
{
test: /\.(svg)(\?.*)?$/,
use: [
/* config.module.rule('svg').use('file-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\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: [
/* config.module.rule('media').use('url-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\url-loader\\dist\\cjs.js',
options: {
limit: 4096,
fallback: {
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\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: [
/* config.module.rule('fonts').use('url-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\url-loader\\dist\\cjs.js',
options: {
limit: 4096,
fallback: {
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\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').oneOf('pug-vue') */
{
resourceQuery: /vue/,
use: [
/* config.module.rule('pug').oneOf('pug-vue').use('pug-plain-loader') */
{
loader: 'pug-plain-loader'
}
]
},
/* config.module.rule('pug').oneOf('pug-template') */
{
use: [
/* config.module.rule('pug').oneOf('pug-template').use('raw') */
{
loader: 'raw-loader'
},
/* config.module.rule('pug').oneOf('pug-template').use('pug-plain-loader') */
{
loader: 'pug-plain-loader'
}
]
}
]
},
/* config.module.rule('css') */
{
test: /\.css$/,
oneOf: [
/* config.module.rule('css').oneOf('vue-modules') */
{
resourceQuery: /module/,
use: [
/* config.module.rule('css').oneOf('vue-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('css').oneOf('vue-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('css').oneOf('vue-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('css').oneOf('vue') */
{
resourceQuery: /\?vue/,
use: [
/* config.module.rule('css').oneOf('vue').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('css').oneOf('vue').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('css').oneOf('vue').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('css').oneOf('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
/* config.module.rule('css').oneOf('normal-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('css').oneOf('normal-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('css').oneOf('normal-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('css').oneOf('normal') */
{
use: [
/* config.module.rule('css').oneOf('normal').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('css').oneOf('normal').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('css').oneOf('normal').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
}
]
},
/* config.module.rule('postcss') */
{
test: /\.p(ost)?css$/,
oneOf: [
/* config.module.rule('postcss').oneOf('vue-modules') */
{
resourceQuery: /module/,
use: [
/* config.module.rule('postcss').oneOf('vue-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('postcss').oneOf('vue-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('postcss').oneOf('vue-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('postcss').oneOf('vue') */
{
resourceQuery: /\?vue/,
use: [
/* config.module.rule('postcss').oneOf('vue').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('postcss').oneOf('vue').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('postcss').oneOf('vue').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('postcss').oneOf('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
/* config.module.rule('postcss').oneOf('normal-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('postcss').oneOf('normal-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('postcss').oneOf('normal-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('postcss').oneOf('normal') */
{
use: [
/* config.module.rule('postcss').oneOf('normal').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('postcss').oneOf('normal').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('postcss').oneOf('normal').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
}
]
}
]
},
/* config.module.rule('scss') */
{
test: /\.scss$/,
oneOf: [
/* config.module.rule('scss').oneOf('vue-modules') */
{
resourceQuery: /module/,
use: [
/* config.module.rule('scss').oneOf('vue-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('scss').oneOf('vue-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('scss').oneOf('vue-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('scss').oneOf('vue-modules').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('scss').oneOf('vue') */
{
resourceQuery: /\?vue/,
use: [
/* config.module.rule('scss').oneOf('vue').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('scss').oneOf('vue').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('scss').oneOf('vue').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('scss').oneOf('vue').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('scss').oneOf('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
/* config.module.rule('scss').oneOf('normal-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('scss').oneOf('normal-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('scss').oneOf('normal-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('scss').oneOf('normal-modules').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('scss').oneOf('normal') */
{
use: [
/* config.module.rule('scss').oneOf('normal').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('scss').oneOf('normal').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('scss').oneOf('normal').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('scss').oneOf('normal').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false
}
}
]
}
]
},
/* config.module.rule('sass') */
{
test: /\.sass$/,
oneOf: [
/* config.module.rule('sass').oneOf('vue-modules') */
{
resourceQuery: /module/,
use: [
/* config.module.rule('sass').oneOf('vue-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('sass').oneOf('vue-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('sass').oneOf('vue-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('sass').oneOf('vue-modules').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
},
/* config.module.rule('sass').oneOf('vue') */
{
resourceQuery: /\?vue/,
use: [
/* config.module.rule('sass').oneOf('vue').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('sass').oneOf('vue').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('sass').oneOf('vue').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('sass').oneOf('vue').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
},
/* config.module.rule('sass').oneOf('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
/* config.module.rule('sass').oneOf('normal-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('sass').oneOf('normal-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('sass').oneOf('normal-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('sass').oneOf('normal-modules').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
},
/* config.module.rule('sass').oneOf('normal') */
{
use: [
/* config.module.rule('sass').oneOf('normal').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('sass').oneOf('normal').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('sass').oneOf('normal').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('sass').oneOf('normal').use('sass-loader') */
{
loader: 'sass-loader',
options: {
sourceMap: false,
sassOptions: {
indentedSyntax: true
}
}
}
]
}
]
},
/* config.module.rule('less') */
{
test: /\.less$/,
oneOf: [
/* config.module.rule('less').oneOf('vue-modules') */
{
resourceQuery: /module/,
use: [
/* config.module.rule('less').oneOf('vue-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('less').oneOf('vue-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('less').oneOf('vue-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('less').oneOf('vue-modules').use('less-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('less').oneOf('vue') */
{
resourceQuery: /\?vue/,
use: [
/* config.module.rule('less').oneOf('vue').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('less').oneOf('vue').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('less').oneOf('vue').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('less').oneOf('vue').use('less-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('less').oneOf('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
/* config.module.rule('less').oneOf('normal-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('less').oneOf('normal-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('less').oneOf('normal-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('less').oneOf('normal-modules').use('less-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
},
/* config.module.rule('less').oneOf('normal') */
{
use: [
/* config.module.rule('less').oneOf('normal').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('less').oneOf('normal').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('less').oneOf('normal').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('less').oneOf('normal').use('less-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\less-loader\\dist\\cjs.js',
options: {
sourceMap: false
}
}
]
}
]
},
/* config.module.rule('stylus') */
{
test: /\.styl(us)?$/,
oneOf: [
/* config.module.rule('stylus').oneOf('vue-modules') */
{
resourceQuery: /module/,
use: [
/* config.module.rule('stylus').oneOf('vue-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('stylus').oneOf('vue-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('stylus').oneOf('vue-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('stylus').oneOf('vue-modules').use('stylus-loader') */
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
},
/* config.module.rule('stylus').oneOf('vue') */
{
resourceQuery: /\?vue/,
use: [
/* config.module.rule('stylus').oneOf('vue').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('stylus').oneOf('vue').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('stylus').oneOf('vue').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('stylus').oneOf('vue').use('stylus-loader') */
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
},
/* config.module.rule('stylus').oneOf('normal-modules') */
{
test: /\.module\.\w+$/,
use: [
/* config.module.rule('stylus').oneOf('normal-modules').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('stylus').oneOf('normal-modules').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2,
modules: {
localIdentName: '[name]_[local]_[hash:base64:5]'
}
}
},
/* config.module.rule('stylus').oneOf('normal-modules').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('stylus').oneOf('normal-modules').use('stylus-loader') */
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
},
/* config.module.rule('stylus').oneOf('normal') */
{
use: [
/* config.module.rule('stylus').oneOf('normal').use('extract-css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\mini-css-extract-plugin\\dist\\loader.js',
options: {
hmr: false,
publicPath: '../'
}
},
/* config.module.rule('stylus').oneOf('normal').use('css-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\css-loader\\dist\\cjs.js',
options: {
sourceMap: false,
importLoaders: 2
}
},
/* config.module.rule('stylus').oneOf('normal').use('postcss-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\postcss-loader\\src\\index.js',
options: {
sourceMap: false
}
},
/* config.module.rule('stylus').oneOf('normal').use('stylus-loader') */
{
loader: 'stylus-loader',
options: {
sourceMap: false,
preferPathResolver: 'webpack'
}
}
]
}
]
},
/* config.module.rule('js') */
{
test: /\.m?jsx?$/,
exclude: [
function () { /* omitted long function */ }
],
use: [
/* config.module.rule('js').use('cache-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\cache-loader\\dist\\cjs.js',
options: {
cacheDirectory: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\.cache\\babel-loader',
cacheIdentifier: '9922bb8e'
}
},
/* config.module.rule('js').use('thread-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\thread-loader\\dist\\cjs.js'
},
/* config.module.rule('js').use('babel-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\babel-loader\\lib\\index.js'
}
]
},
/* config.module.rule('eslint') */
{
enforce: 'pre',
test: /\.(vue|(j|t)sx?)$/,
exclude: [
/node_modules/,
'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\@vue\\cli-service\\lib'
],
use: [
/* config.module.rule('eslint').use('eslint-loader') */
{
loader: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\eslint-loader\\index.js',
options: {
extensions: [
'.js',
'.jsx',
'.vue'
],
cache: true,
cacheIdentifier: '1ff9850b',
emitWarning: false,
emitError: false,
eslintPath: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\node_modules\\eslint',
formatter: undefined
}
}
]
}
]
},
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: [
/* config.optimization.minimizer('terser') */
new TerserPlugin(
{
terserOptions: {
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
}
},
sourceMap: true,
cache: true,
parallel: true,
extractComments: false
}
)
]
},
plugins: [
/* config.plugin('vue-loader') */
new VueLoaderPlugin(),
/* config.plugin('define') */
new DefinePlugin(
{
'process.env': {
NODE_ENV: '"production"',
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('extract-css') */
new MiniCssExtractPlugin(
{
filename: 'css/[name].[contenthash:8].css',
chunkFilename: 'css/[name].[contenthash:8].css'
}
),
/* config.plugin('optimize-css') */
new OptimizeCssnanoPlugin(
{
sourceMap: false,
cssnanoOptions: {
preset: [
'default',
{
mergeLonghand: false,
cssDeclarationSorter: false
}
]
}
}
),
/* config.plugin('hash-module-ids') */
new HashedModuleIdsPlugin(
{
hashDigest: 'hex'
}
),
/* config.plugin('named-chunks') */
new NamedChunksPlugin(
function () { /* omitted long function */ }
),
/* config.plugin('html') */
new HtmlWebpackPlugin(
{
title: 'm-heima',
templateParameters: function () { /* omitted long function */ },
minify: {
removeComments: true,
collapseWhitespace: true,
removeAttributeQuotes: true,
collapseBooleanAttributes: true,
removeScriptTypeAttributes: true
},
template: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\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: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\public',
to: 'F:\\2019.12.29课程\\5.11 vue\\自己做的项目\\m-heima\\dist',
toType: 'dir',
ignore: [
'.DS_Store',
{
glob: 'index.html',
matchBase: false
}
]
}
]
)
],
entry: {
app: [
'./src/main.js'
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化