Skip to content

Commit

Permalink
Merge pull request #58 from ligangty/2.0-refactor
Browse files Browse the repository at this point in the history
Babel plugin replacement
  • Loading branch information
ligangty authored Nov 6, 2023
2 parents 50bdb62 + c0d79a3 commit c733280
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 21 deletions.
3 changes: 1 addition & 2 deletions src/main/webui/.babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

{
"presets":[
"@babel/env",
"@babel/react"
],
"plugins": ["@babel/plugin-proposal-class-properties","@babel/plugin-transform-modules-commonjs"]
"plugins": ["@babel/plugin-transform-class-properties","@babel/plugin-transform-modules-commonjs"]
}
18 changes: 1 addition & 17 deletions src/main/webui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@babel/core": "^7.23.0",
"@babel/eslint-parser": "^7.22.15",
"@babel/node": "^7.22.19",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-class-properties": "^7.22.5",
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
Expand Down
1 change: 0 additions & 1 deletion src/main/webui/webpack-content-browse.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

const path = require('path');
// const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin');

module.exports = {
Expand Down

0 comments on commit c733280

Please sign in to comment.