Skip to content

Commit

Permalink
feat: update Babel and Webpack configurations for design-system-website
Browse files Browse the repository at this point in the history
- Replace `@babel/plugin-proposal-class-properties` with `@babel/plugin-transform-object-rest-spread`
- Update Babel and Webpack dependencies to latest versions
- Add `node-polyfill-webpack-plugin` and `process` to handle polyfills
- Replace `babel-plugin-module-alias` with `babel-plugin-module-resolver`
- Update Webpack plugins configuration in `styleguide.config.js`
  • Loading branch information
CoMfUcIoS committed Oct 14, 2024
1 parent 231f56e commit 1372de5
Show file tree
Hide file tree
Showing 4 changed files with 2,283 additions and 335 deletions.
9 changes: 7 additions & 2 deletions packages/design-system-website/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": ["@babel/plugin-proposal-class-properties"]
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-transform-object-rest-spread"
]
}
Loading

0 comments on commit 1372de5

Please sign in to comment.