Comments (10)
from webpack-cli.
Hello @carlos-
I've just added an asciidoc diagram in the features wiki page: https://github.com/webpack/webpack-cli/wiki/Features-definition---v1
The same structure, would be at a point expressed in the folder structure, which we are defining in #52
from webpack-cli.
- https://github.com/webpack/webpack-cli/blob/master/bin/process-options.js#L147
- https://github.com/webpack/webpack-cli/blob/master/bin/process-options.js#L178
- https://github.com/webpack/webpack-cli/blob/master/bin/process-options.js#L138
from webpack-cli.
- Remove inquirer types as we don't need several, we only use one.
from webpack-cli.
We might use list or checkbox types also right?
from webpack-cli.
We'll see how the parser and transformation package turns out. We should export inquirer and all needed resources as a utility suite to develop an addon. Reserved this from npm: https://www.npmjs.com/package/webpack-addon
from webpack-cli.
@kenwheeler @DanielaValero @pksjce Seems approachable?
from webpack-cli.
Hi @ev1stensberg it looks like the diagram is referring to the init
and that this issue is about the refactoring and migration of the options we pass to the compiler via the cli, which are currently available in webpack
.
I'd think about the structure of webpack-cli
, more like in two big areas:
init
&&migrate
: which are consuming the validation and transformations of code<options>
: which are sending options to the compiler, to tell it to perform specific tasks.
I will prepare later today a graph to share somewhere here, to illustrate this, and will try to add some more details. Later on, we can all feed it, and detail it wherever is required, in order to have a clear idea of where what belongs.
Does it make sense?
from webpack-cli.
@DanielaValero, it makes total sense to me. I like the idea of organizing the architecture that way. did you finish the graph?
from webpack-cli.
Closing this for now, going to do a write up on a Higher Order ticket.
from webpack-cli.
Related Issues (20)
- Incorrect warning about watch command HOT 4
- while calling remote app getting [object object] i used webpack when i open separate it's work fine but when open in host app and call remote app getting error [object object] HOT 1
- webpack-dev-server doesn't work with installed webpack and webpack-cli in the parent folder HOT 7
- Import error after updating to v5.1.2 HOT 3
- Accept `undefined` and `null` in `plugins` array HOT 3
- Chore: Update dependencies
- Project HOT 1
- Unable to specify custom config loader in Node 20 (`--loader tsx`) HOT 2
- @webpack-cli/[email protected] has some deprecated NPM modules HOT 3
- debuglog: Package no longer supported. HOT 2
- @npmcli/move-file: This functionality has been moved to @npmcli/fs HOT 1
- `esbuild-kit/tsx` loader support for TypeScript configuration HOT 6
- Cannot read properties of undefined (reading 'getArguments') HOT 13
- Feature request: Include testing of updating dependencies in a readme
- With default config, the webpack serve does not serve the images in html HOT 5
- `--node-env` doesn't set the `mode` as expected HOT 3
- Add support for tsimp TS loader HOT 7
- Cannot Get Rid Of "Module not found: Error: Can't resolve 'fs/promises'" HOT 1
- webpack-cli wants `@swc/register` but it is deprecated for `@swc-node/register` HOT 2
- process.loadEnvFile(); fails to load HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpack-cli.