-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace webpack with Parcel-Bundler? #847
Comments
I think it would be way better and easier to move to webpack 4. |
Aha. Didn't know there is a webpack 4 already :) Can it do proper tree shaking now finally? |
Everytime I come back to setup react component documentation with my favorite style guide tool I long for parcel support. Parcel truly shines in this aspect and I wish react-styleguidist would support it. At the moment I install webpack in a docs subfolder alongside this minimal webpack config inside webpackConfig: {
module: {
rules: [
{
test: /\.js?$/,
exclude: /node_modules/,
loader: "babel-loader",
},
{
test: /\.(jpg|png|svg)$/,
use: {
loader: "url-loader",
},
},
{
test: /\.css$/,
use: ["css-loader"],
},
],
}, Which is not really "zero-config". Parcel supports all that by default and I really wonder @sapegin what you think about it? How difficult do you estimate is a switch of the bundler? Parcel also supports hot-loading and such which would be required for the interactive examples. |
😴 This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week without any further activity. Consider opening a pull request if you still have this issue or want this feature. |
Have you taken a look at ParcelJS. It is much easier to setup than webpack, faster in compiling, produces smaller bundles and supports hot-reloading.
With the insight how webpack is used in styleguidist, do you think a switch of the bundler would be possible?
The text was updated successfully, but these errors were encountered: