Comments (2)
You can pass additional webpack configurations via config
(npx grapesjs-cli serve --config='{"prop": "value"}'
) which was the easiest way to do that but I agree that is not a valid approach for a more complex configuration. It'd be cool to let the user create a webpack.config.js
file (which would contain an object/function) in the root of the plugin.
I'd be glad to merge a PR for this feature 😁
from cli.
Added the possibility to use a custom webpack.config.js
https://github.com/artf/grapesjs-cli/releases/tag/v1.0.14
from cli.
Related Issues (18)
- Debugging grapesjs HOT 1
- Building locales fails on windows.
- [ERROR] Compilation Error During Serve HOT 1
- [Feature] Install packages after create a new plugin. HOT 1
- Input code in build process HOT 1
- Bug on startup the cli
- after npm build locale file es.js getting replaced with initial code HOT 1
- copy-webpack-plugin doesn't work
- does not provide an export named 'default' HOT 1
- Unexpected token '(' HOT 2
- Init new plugin HOT 2
- Vite HOT 1
- SyntaxError: Invalid or unexpected token? HOT 3
- Unexpected token 'export' on webpack.config.js
- Failing webpack/declaration build does not cause cli process to exit with non-zero code
- Plugin not found HOT 3
- How to configure webpack 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 cli.