python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Webpack build from sub directory
I've sub directories in the projects, each sub directory is like a project. I wanted to have separate webpack config file in each sub directory. Like following
├── package.json
├── subProject1
│ └──...
Md. A. Apu
Votes: 0
Answers: 0
Webpack Tree-Shaking Setup among Webpack babel-loader, TypeScript tsconfig target, @babel/preset-env modules: false, package.json side-effects:false?
As title. This is the longer version:
My target is to setup the tree-shaking feature of Webpack (for es6-modules, or ESM, .ejs if you prefer).
My confusion is among these configs: Webpack v5 with ba...
NeoZoom.lua
Votes: 0
Answers: 1
Webpack bundled library does not compile in React
I'm trying to bundle a standalone library with Webpack (v5) and use it in my React application.
The webpack.config.js file is pretty straightforward:
const path = require('path');
const webpack = requ...
Mantas
Votes: 0
Answers: 0
What's the idea of "layer" in Webpack 5?
As title. I'm learning Webpack 5, and I just noticed there seems to be a concept called "layer" that is rarely mentioned(or I haven't found) in the documentation. It can be found here (for t...
NeoZoom.lua
Votes: 0
Answers: 0