Skip to content

Commit 51cdd69

Browse files
Wojciech KrysiakWojciech Krysiak
authored andcommitted
fix: allow to transpile tsx and jsx from node_modules
This fix allows using AdminBro.bundle from features
1 parent 7dcb104 commit 51cdd69

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

example-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"sequelize-cli": "^5.5.1"
2020
},
2121
"dependencies": {
22-
"admin-bro": "^3.0.0-beta.7",
22+
"admin-bro": "^3.2.2",
2323
"@admin-bro/express": "^3.0.0-beta.3",
2424
"@admin-bro/mongoose": "^1.0.0-beta.3",
2525
"@admin-bro/sequelize": "^1.0.0-beta.2",

example-app/yarn.lock

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@
1313
react-datepicker "^3.1.3"
1414
styled-system "^5.1.4"
1515

16+
"@admin-bro/design-system@^1.3.3":
17+
version "1.6.0"
18+
resolved "https://registry.yarnpkg.com/@admin-bro/design-system/-/design-system-1.6.0.tgz#4371a57c7faed4e6d49eafe50615217a73a933d5"
19+
integrity sha512-mVo26KVeB80tXEsqyc5Bw9Ysyod7k4VRuAF30isu1wqkwgJLbaAih8tDcNiahB4Ga0AKHKAYBfA5TUa4ULKvMQ==
20+
dependencies:
21+
"@carbon/icons-react" "^10.14.0"
22+
jw-paginate "^1.0.4"
23+
polished "^3.6.5"
24+
react-datepicker "^3.1.3"
25+
styled-system "^5.1.4"
26+
1627
"@admin-bro/express@^3.0.0-beta.3":
1728
version "3.0.0-beta.3"
1829
resolved "https://registry.yarnpkg.com/@admin-bro/express/-/express-3.0.0-beta.3.tgz#61fe45945712781a50c1092c926b5fe5a7bd3f71"
@@ -1454,12 +1465,12 @@ accepts@~1.3.7:
14541465
mime-types "~2.1.24"
14551466
negotiator "0.6.2"
14561467

1457-
admin-bro@^3.0.0-beta.7:
1458-
version "3.0.0-beta.7"
1459-
resolved "https://registry.yarnpkg.com/admin-bro/-/admin-bro-3.0.0-beta.7.tgz#c257b70c48163f7f35ac580bf1ad39b5f26c1fc6"
1460-
integrity sha512-1F11kuWeVmB3nxhrPqZpt/SouCY8SqPy9dfgXApCjhM9gL1NfaaEXEq+QM48q69wvgcYvamRo3Dre9sIDLTJxQ==
1468+
admin-bro@^3.2.2:
1469+
version "3.2.2"
1470+
resolved "https://registry.yarnpkg.com/admin-bro/-/admin-bro-3.2.2.tgz#b7a35f702211e5c8a541419283fbf049cfc91a37"
1471+
integrity sha512-GHg/UCoTgtn7T9z2641XJ4MOtkb0wg/kTFM4KJevW4PSEHfljCei7sI8qKxXw8xXEcwDXEisQu/GEYZaNvkoWA==
14611472
dependencies:
1462-
"@admin-bro/design-system" "^1.3.2"
1473+
"@admin-bro/design-system" "^1.3.3"
14631474
"@babel/core" "^7.10.2"
14641475
"@babel/parser" "^7.10.2"
14651476
"@babel/plugin-transform-runtime" "^7.10.1"

src/backend/bundler/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const plugins = ({ babelConfig = {}, commonJSConfig = {}, minify = false } = {})
8484
babel({
8585
extensions,
8686
babelrc: false,
87-
exclude: 'node_modules/**',
87+
exclude: 'node_modules/**/*.js',
8888
presets: [
8989
require.resolve('@babel/preset-react'),
9090
require.resolve('@babel/preset-env'),

0 commit comments

Comments
 (0)