diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 070ae221f3f3fda5e43ac6ec7c53dd29574d504d..4dcd81e40459ab121777758265f5d1b3be3e34b9 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -57,10 +57,10 @@ const devWebpackConfig = merge(baseWebpackConfig, { template: 'index.html', inject: true }), - // copy custom static assets + // copy custom myblog_static assets new CopyWebpackPlugin([ { - from: path.resolve(__dirname, '../static'), + from: path.resolve(__dirname, '../myblog_static'), to: config.dev.assetsSubDirectory, ignore: ['.*'] } diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 2f172596dfddf6ca302d0676d8e54e8153d26164..e31ffb4d412f041e670f7f539e4f55187bbe3718 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -48,7 +48,7 @@ const webpackConfig = merge(baseWebpackConfig, { filename: utils.assetsPath('css/[name].[contenthash].css'), // Setting the following option to `false` will not extract CSS from codesplit chunks. // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. - // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, + // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 allChunks: true, }), @@ -112,10 +112,10 @@ const webpackConfig = merge(baseWebpackConfig, { minChunks: 3 }), - // copy custom static assets + // copy custom myblog_static assets new CopyWebpackPlugin([ { - from: path.resolve(__dirname, '../static'), + from: path.resolve(__dirname, '../myblog_static'), to: config.build.assetsSubDirectory, ignore: ['.*'] } diff --git a/config/index.js b/config/index.js index 42131d05f2339016bdf4ba079eba5f0b754f5914..969aa8292916c40b5467a0dc7f3941b20e3645a0 100644 --- a/config/index.js +++ b/config/index.js @@ -7,7 +7,7 @@ const path = require("path"); module.exports = { dev: { // Paths - assetsSubDirectory: "static", + assetsSubDirectory: "myblog_static", assetsPublicPath: "/", proxyTable: { "/api/": { @@ -78,8 +78,8 @@ module.exports = { // https://webpack.js.org/configuration/devtool/#production devtool: "#source-map", - // Gzip off by default as many popular static hosts such as - // Surge or Netlify already gzip all static assets for you. + // Gzip off by default as many popular myblog_static hosts such as + // Surge or Netlify already gzip all myblog_static assets for you. // Before setting to `true`, make sure to: // npm install --save-dev compression-webpack-plugin productionGzip: false, diff --git a/index.html b/index.html index bb244a33a187d291222a47e8b5a3ceafc1e613ad..cdd415b897cc2db612529c75029e6e24d6fa5f4f 100644 --- a/index.html +++ b/index.html @@ -6,16 +6,16 @@