2020-03-02 18:15:00 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`webpack getWebpackConfig() 1`] = `
|
|
|
|
"Object {
|
|
|
|
\\"loader\\": \\"vue-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"productionMode\\": true,
|
|
|
|
\\"transformAssetUrls\\": Object {
|
|
|
|
\\"embed\\": \\"src\\",
|
|
|
|
\\"object\\": \\"src\\",
|
|
|
|
\\"source\\": \\"src\\",
|
|
|
|
\\"video\\": \\"src\\",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
\\"test\\": /\\\\.vue$/i,
|
|
|
|
}"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`webpack nuxt webpack devtool 1`] = `
|
|
|
|
"false
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`webpack nuxt webpack module.rules 1`] = `
|
|
|
|
"Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"productionMode\\": true,
|
|
|
|
\\"transformAssetUrls\\": Object {
|
|
|
|
\\"embed\\": \\"src\\",
|
|
|
|
\\"object\\": \\"src\\",
|
|
|
|
\\"source\\": \\"src\\",
|
|
|
|
\\"video\\": \\"src\\",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
\\"test\\": /\\\\.vue$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"oneOf\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"resourceQuery\\": /^\\\\?vue/i,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"pug-plain-loader\\",
|
|
|
|
\\"options\\": Object {},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
\\"raw-loader\\",
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"pug-plain-loader\\",
|
|
|
|
\\"options\\": Object {},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
\\"test\\": /\\\\.pug$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"exclude\\": [Function exclude],
|
2020-04-05 13:41:21 +00:00
|
|
|
\\"test\\": /\\\\.m?jsx?$/i,
|
2020-03-02 18:15:00 +00:00
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"<nuxtDir>/node_modules/babel-loader/lib/index.js\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"babelrc\\": false,
|
|
|
|
\\"cacheDirectory\\": false,
|
|
|
|
\\"configFile\\": false,
|
|
|
|
\\"envName\\": \\"client\\",
|
|
|
|
\\"presets\\": Array [
|
|
|
|
Array [
|
|
|
|
\\"<nuxtDir>/packages/babel-preset-app/src/index.js\\",
|
2020-07-27 13:36:46 +00:00
|
|
|
Object {
|
|
|
|
\\"corejs\\": Object {
|
|
|
|
\\"version\\": \\"2\\",
|
|
|
|
},
|
|
|
|
},
|
2020-03-02 18:15:00 +00:00
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"oneOf\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"resourceQuery\\": /module/,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"modules\\": Object {
|
|
|
|
\\"localIdentName\\": \\"[local]_[hash:base64:5]\\",
|
|
|
|
},
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
\\"test\\": /\\\\.css$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"oneOf\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"resourceQuery\\": /module/,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"modules\\": Object {
|
|
|
|
\\"localIdentName\\": \\"[local]_[hash:base64:5]\\",
|
|
|
|
},
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
\\"test\\": /\\\\.p(ost)?css$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"oneOf\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"resourceQuery\\": /module/,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"modules\\": Object {
|
|
|
|
\\"localIdentName\\": \\"[local]_[hash:base64:5]\\",
|
|
|
|
},
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"less-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"less-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
\\"test\\": /\\\\.less$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"oneOf\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"resourceQuery\\": /module/,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"modules\\": Object {
|
|
|
|
\\"localIdentName\\": \\"[local]_[hash:base64:5]\\",
|
|
|
|
},
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"sass-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sassOptions\\": Object {
|
|
|
|
\\"indentedSyntax\\": true,
|
|
|
|
},
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"sass-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sassOptions\\": Object {
|
|
|
|
\\"indentedSyntax\\": true,
|
|
|
|
},
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
\\"test\\": /\\\\.sass$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"oneOf\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"resourceQuery\\": /module/,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"modules\\": Object {
|
|
|
|
\\"localIdentName\\": \\"[local]_[hash:base64:5]\\",
|
|
|
|
},
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"sass-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"sass-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
\\"test\\": /\\\\.scss$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"oneOf\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"resourceQuery\\": /module/,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"modules\\": Object {
|
|
|
|
\\"localIdentName\\": \\"[local]_[hash:base64:5]\\",
|
|
|
|
},
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"stylus-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"vue-style-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"css-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"importLoaders\\": 2,
|
|
|
|
\\"onlyLocals\\": false,
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"postcss-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"order\\": \\"presetEnvAndCssnanoLast\\",
|
|
|
|
\\"plugins\\": Array [
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
[Function anonymous],
|
|
|
|
],
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"stylus-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"sourceMap\\": false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
\\"test\\": /\\\\.styl(us)?$/i,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"test\\": /\\\\.(png|jpe?g|gif|svg|webp)$/i,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"url-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"limit\\": 1000,
|
2020-06-09 19:45:52 +00:00
|
|
|
\\"name\\": \\"img/[name].[contenthash:7].[ext]\\",
|
2020-03-02 18:15:00 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"test\\": /\\\\.(woff2?|eot|ttf|otf)(\\\\?.*)?$/i,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"url-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"limit\\": 1000,
|
2020-06-09 19:45:52 +00:00
|
|
|
\\"name\\": \\"fonts/[name].[contenthash:7].[ext]\\",
|
2020-03-02 18:15:00 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
\\"test\\": /\\\\.(webm|mp4|ogv)$/i,
|
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"file-loader\\",
|
|
|
|
\\"options\\": Object {
|
2020-06-09 19:45:52 +00:00
|
|
|
\\"name\\": \\"videos/[name].[contenthash:7].[ext]\\",
|
2020-03-02 18:15:00 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`webpack nuxt webpack module.rules loader=.*-loader 1`] = `
|
|
|
|
"Object {
|
|
|
|
\\"loader\\": \\"vue-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"productionMode\\": true,
|
|
|
|
\\"transformAssetUrls\\": Object {
|
|
|
|
\\"embed\\": \\"src\\",
|
|
|
|
\\"object\\": \\"src\\",
|
|
|
|
\\"source\\": \\"src\\",
|
|
|
|
\\"video\\": \\"src\\",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
\\"test\\": /\\\\.vue$/i,
|
|
|
|
}
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`webpack nuxt webpack module.rules loader=vue- 1`] = `
|
|
|
|
"Object {
|
|
|
|
\\"loader\\": \\"vue-loader\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"productionMode\\": true,
|
|
|
|
\\"transformAssetUrls\\": Object {
|
|
|
|
\\"embed\\": \\"src\\",
|
|
|
|
\\"object\\": \\"src\\",
|
|
|
|
\\"source\\": \\"src\\",
|
|
|
|
\\"video\\": \\"src\\",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
\\"test\\": /\\\\.vue$/i,
|
|
|
|
}
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`webpack nuxt webpack module.rules test=.jsx 1`] = `
|
|
|
|
"Object {
|
|
|
|
\\"exclude\\": [Function exclude],
|
2020-04-05 13:41:21 +00:00
|
|
|
\\"test\\": /\\\\.m?jsx?$/i,
|
2020-03-02 18:15:00 +00:00
|
|
|
\\"use\\": Array [
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"<nuxtDir>/node_modules/babel-loader/lib/index.js\\",
|
|
|
|
\\"options\\": Object {
|
|
|
|
\\"babelrc\\": false,
|
|
|
|
\\"cacheDirectory\\": false,
|
|
|
|
\\"configFile\\": false,
|
|
|
|
\\"envName\\": \\"client\\",
|
|
|
|
\\"presets\\": Array [
|
|
|
|
Array [
|
|
|
|
\\"<nuxtDir>/packages/babel-preset-app/src/index.js\\",
|
2020-07-27 13:36:46 +00:00
|
|
|
Object {
|
|
|
|
\\"corejs\\": Object {
|
|
|
|
\\"version\\": \\"2\\",
|
|
|
|
},
|
|
|
|
},
|
2020-03-02 18:15:00 +00:00
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`webpack nuxt webpack nuxt webpack module rules test=.pug oneOf use.0=raw 1`] = `
|
|
|
|
"Object {
|
|
|
|
\\"use\\": Array [
|
|
|
|
\\"raw-loader\\",
|
|
|
|
Object {
|
|
|
|
\\"loader\\": \\"pug-plain-loader\\",
|
|
|
|
\\"options\\": Object {},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`webpack nuxt webpack resolve alias 1`] = `
|
|
|
|
"Object {
|
|
|
|
\\"@\\": \\"<nuxtDir>/resolve\\",
|
|
|
|
\\"@@\\": \\"<nuxtDir>/resolve\\",
|
|
|
|
\\"assets\\": \\"<nuxtDir>/resolve/assets\\",
|
|
|
|
\\"static\\": \\"<nuxtDir>/resolve/static\\",
|
|
|
|
\\"vue-meta\\": \\"<nuxtDir>/node_modules/vue-meta/dist/vue-meta.esm.browser.js\\",
|
|
|
|
\\"~\\": \\"<nuxtDir>/resolve\\",
|
|
|
|
\\"~~\\": \\"<nuxtDir>/resolve\\",
|
|
|
|
}
|
|
|
|
"
|
|
|
|
`;
|