Skip to content

Commit

Permalink
fix: made dg/core as external
Browse files Browse the repository at this point in the history
  • Loading branch information
shibisuriya committed May 26, 2024
1 parent 4162015 commit 4d94507
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 213 deletions.
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@
"homepage": "https://shibisuriya.github.io/declarative-gridstack/",
"scripts": {
"build": "webpack --config ./webpack.prod.config.js",
"dev": "webpack serve --config ./webpack.dev.config.js",
"dev": "webpack serve --config ./webpack.prod.config.js",
"postinstall": "pnpm run build"
},
"devDependencies": {
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@declarative-gridstack/core": "workspace:^",
"babel-loader": "^9.1.3",
"css-loader": "^6.8.1",
"html-webpack-plugin": "^5.5.3",
Expand Down Expand Up @@ -59,6 +58,7 @@
"./examples": "./src/examples/index.js"
},
"dependencies": {
"@declarative-gridstack/core": "workspace:^",
"lodash": "^4.17.21"
}
}
30 changes: 0 additions & 30 deletions packages/react/webpack.dev.config.js

This file was deleted.

1 change: 1 addition & 0 deletions packages/react/webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
externals: {
react: "react",
"react-dom": "react-dom",
"@declarative-gridstack/react": "@declarative-gridstack/react",
},
module: {
rules: [
Expand Down
Loading

0 comments on commit 4d94507

Please sign in to comment.