comrades see that help me solve the packing problem help solve the problem, and delete the one in front of the package. The code is as follows let fs = require( fs ) let path = require( path ) let process = require( process ) let babylon =...
the version of webpack used is 3.10.0. There is no problem without the option of minimize. Is it the version problem, webpack rookie, webpack Asset Size Chunks Chunk Names bundle.js 17.9 kB 0 [emitted] main [0]. src index.js 91 bytes {0} [built] ...
problem description above webpack3, how to compress all packaged js files into one js file? the environmental background of the problems and what methods you have tried webpack.config.js const path = require( path ) const HTMLPlugin = require( ...
problem description if the vue proxyTable proxy port is set to 8080, the interface can not get the returned data of the server by error response 7777 comments have always been set to 8080 the environmental background of the problems and what m...
let appid = process.env.appid let isFFZ = process.env.appid = = ffz let isLOTTERY = process.env.appid = = lottery let isCLUB = process.env.appid = = club let isFFZF = process.env.appid = = ffzf let isPOCKET = process.env.appid = ...
found the problem, the problem of the vux official template found issues https: github.com airyland v. under vux, but there is no solution for the time being Project description Project is a mobile vue2 project, which uses vux as the ui framewo...
Test and production environments in vue projects are often different from each other in front of URL. is now defined in main.js. Vue.prototype.host = http: test.xyz voronezh ; Vue.prototype.host = http: dbtest.xyz voronezh ; these two variable...
problem description the project is uploaded using SVN, and if [chunkhash] is placed after the file name, it will result in multiple files, so it will be changed to js [name] .js? v = [chunkhash:8] . This causes gzip to fail during compression. t...
Open the webpack.optimize.ModuleConcatenationPlugin plug-in. The page cannot be accessed after the production environment is packaged. The error is as follows: Uncaught TypeError: Cannot read property call of undefined at b (bootstrap a00833d57...
the size of the packaged vue file is too large Environment: vue-cli 2.93 webpack 3.6.0 question when npn run build is packaged, all css, is assembled in a app. [hash] .css file with a volume of 1.7m. If subsequent projects continue to ad...
using lib-flexible + px2rem-loader, to introduce css externally in Vue <style src= .. assets style.css > * * < style> <style> @import url( .. assets style.css ); * * < style> <style> @import .. assets s...
problem description this is my directory structure. I want to merge all the scss files under the css2 folder into one css file and package them to the build directory extractTextPluginscssscssscssjsimport100scssscss . configuration file const pat...
rules: [ { test: .css$ , use: [{ loader: "style-loader" }, { loader: "css-loader" }] }, { test: .less$ , use: [{ loader: "sty...
want to add purifycss function, but after build, a lot of useful css have not been packaged? webpack.build.js var webpack = require( webpack ); var path = require( path ); var glob = require("glob"); let HtmlWebpackPlugin = require( htm...
git address: ...
encountered an error, but I don t know how to solve it. I have checked other answers, but. ERROR in . src app.jsx Module parse failed: E: React N2 0511 test src app.jsx Unexpected token (18:6) You may need an appropriate loader to handle this ...
split vendor js into its own file new webpack.optimize.CommonsChunkPlugin({ name: vendor , minChunks: function (module) { any required modules inside node_modules are extracted to vendor return ( modu...
this is the current packaged structure: webpack : : ...
above the webpack3 version, I add a custom attribute to the configuration. report to WebpackOptionsValidationError: Invalid configuration object, as shown in figure ...