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&...
as we all know, Redis can be well used in data caching scenarios, which can greatly improve the read and write efficiency compared to MySQL. however, I have found that many of the application scenarios advertised by Redis enthusiasts actually do not ex...
recently, when I was watching a mobile phone app tutorial with a high imitation of Lashou, there was a problem when I saw the commodity information in the main interface. It used PullToFresh to achieve the functions of pull-down refresh and pull-up load...
I would like to ask if one of the switch sliders is true, and the other sliders are all changed into false. Only one item can be selected . ...
after changing the gitlab.rb file, when reloading the configuration gitlab-ctl reconfigure, it will not move when running to execute [clear the gitlab-rails cache] action run, and the cpu will rise to 100%. Solve the situation and how to solve ....
I use the command ffmpeg-I home video a.mp4-r 1-s 950x520-f image2 home video a.jpg can be executed on the terminal, but in the PHP file, using shell_exec ( ffmpeg-I home video a.mp4-r 1-s 950x520-f image2 home video a.jpg ) is not successf...