load on demand as recommended: { "presets": [ "env", "react", "stage-0" ], "plugins": [ [ "import", { "libraryName": "antd", &qu...
when using Parcel to package TS files, a lot of code will be generated after compilation. My JS does not need modularization. Is there a way to turn off this function? I just want JS to output as is, and TS to compile and output as it is. by the way, ...
import () can split the code and reduce packaging. For example, two large components (pages) AMagi B both need public button.js, so how to introduce the A page into button and leak it to the app.js,app configuration router corresponding to the correspon...
File name: cssnano.config.js const path = require( path ); const config = { "discardComments": { "removeAll": true } } module.exports = config compile error message with Parcel: what does Expected a valid Node.js modu...
I used TypeScript development, file an is a module, file b uses this module, packaged with Parcel generated a lot of, I like to achieve the same function as Rollup, the module is imported like a code reference. ask whether Parcel can fulfill this requ...
I want to compile multiple TS files into a JS file in import order. Typescript itself does not seem to have this function, so I tried the Parcel tool, but after packaging, it was not what I thought, but it generated a lot of module solutions of his own....
I use Baidu san for development and parcel for packaging. The packaged code has default incompatibility and IE8, can only be modified manually after packaging. Is there an es3ify, similar to webpack? what to do? ask for advice! ...
I introduced a style file that defined the style of .container , then ran it using parcel and found that the style didn t work. I configured postcss: { "modules": true, "plugins": { "autoprefixer": { &quo...
when packing with parcel, it will randomly stop at a certain file, is it because the file is too large? the packaging order is to use nodemon to start the server of koa and then use parcel to generate a new html. if it is successful for me to start ...
after parcel build output, all files are in one folder: js, css, html; how to output js files in the js folder, pictures in the images folder, and css output in the css folder! there is no official configuration option! Do you want to switch back...