Mini Program compress uses gulp-minify-css, but after each compression, the 1rpx in border is removed. What solution do you have? ...
for example: I have a.svg, b.svg, c.svg. Multiple svg icons, finally packaged into myFontIcon.woff2, myFontIcon.eot, myFontIcon.ttf, myFontIcon.otf, and generate a fonticon.css file? ...
in the process of compression, it is found that gulp-cssnano will delete the-webkit-box-orient: vertical; style. How can this be avoided? I don t want to delete any css code when I compress it. ...
Open the solution with vs2015 and report an error What does mean? Has anyone met ...
src is the development environment and dist is the production environment! should my server load files under dist? I have configured a hot load here, and the html browser under dist will change automatically when html is modified! then every time I m...
compiling is very slow after modifying the code, but it still doesn t work after finding a lot of methods. Forget to point it out. var browserify = require ( browserify ); var watchify = require ( watchify ); var bundleLogger = require ( ...
such as configuration items like webpack alias: { @ : resolve( src ) } can gulp automatically change the @ symbol into a relative path to reference? such as import a from @ utils index automatically becomes import a from .. util...
if you want to add a version to the project, the json that is replaced with gulp-rev generation is always generated only two corresponding css function getDistFolder(distPath) { return `${distFolder} ${distPath}`; } ----------- LESS ---...
problem description 1. The whole project uses the framework of thinkphp. A few days ago, I encountered the following error when I tried to compress html code with gulp-htmlmin: thinkphp 2.js : : <volist name="list" id="vo&quo...
how to solve these problems? I showed up when I was packing. at notFoundError (E: Tools work givenchy node_modules .4.0.2@cross-spawn lib enoent.js:11:11) at verifyENOENT (E: Tools work givenchy node_modules .4.0.2@cross-spawn lib enoe...
babel-register has been downloaded and the same error has been reported. ...
problem description use nodejs for server rendering and pug for rendering templates. Static resources are packaged through webpack. In order to solve the caching problem, how can webpack or gulp insert the static resource path with hash into the pug? ...
how to use gulp, to automatically convert < link href= . a.scss > in html to < link href= . a.css > gulp version: 3.9.1 main plug-ins used: "gulp-sass": "^3.1.0", "gulp-rev-append": "^0.1.8", relat...
some of the project code that my colleagues did earlier was compressed with gulp, and the .map file was generated with sourcemap. then my colleague left, and now my work mailbox has received this error log from the server: js error Array () [msg] =&...
::cssjs cssjsdemo.min.jsdemo.min.css : : demo.min.jsdemo.min.css ...
for example, I wrote the following code Vue.component( chart-option , { template: ` <ul class="clearfix fl chart-option-list"> <li class="fl chart-option-item" v-for="(item, index) in checkedC...
referenced blog: https: www.v2ex.com t 349897 < H1 > the effect I want is as follows: < H1 > refer to the blog above, start express, with gulp and debug it in webstorm. for example, when a static resource index.html references an index.js, page to...
how does gulp+browser-sync proxy multiple addresses for example: gulp.task( browserSync ,function() { const aipProxy = proxy( api , { target: "http: 192.168.x.x:8080", changeOrigin: true, pathRewrite: { ...
is doing front-end page development. The project is packaged through gulp, and the server is used to open the web page with browser-sync native. can generally be accessed through localhost plus port. but now opening localhost, will jump to a page whe...
many methods have been found on the Internet, but it is still not possible to install plug-ins. Babel-plugin-transform-runtime babel-runtime .babelrc is as follows { "presets": ["es2015","stage-3"], "plugins&...
first, there is a field of Date type in the database. If you want to query all the records of 2018-04-08, but ignore the following time, minutes and seconds, how do you write the query statement and the mybatis mapping file? ...
the question is that icon is svg but not static resources are written. How to quickly remove svg or whether there is a python library that can do it ...
Fatal Python error: Failed to initialize Windows random API official explanation for reporting an error: https: bugs.python.org issue. do you want to know if the python package is updated (under svn) while the python program is running? Now there is...
vue-cli with webpack project, the development environment is normal, Android can run after launch, but after testing in the phone below ios11, the screen is white. I tested it with safari browser and the error message is SyntaxError:Unexpected token co...
problem description the color is gray, a little dark, and I want to show it as black, so it s more obvious . the environmental background of the problems and what methods you have tried related codes Please paste the code text below (do n...