Skip to content

Commit cdaa892

Browse files
committed
🛠 remove bundling of deps
1 parent 2540f00 commit cdaa892

File tree

3 files changed

+1
-62
lines changed

3 files changed

+1
-62
lines changed

packages/react-scripts/package.json

+1-55
Original file line numberDiff line numberDiff line change
@@ -76,64 +76,10 @@
7676
"whatwg-fetch": "1.0.0"
7777
},
7878
"devDependencies": {
79-
"bundle-deps": "1.0.0",
8079
"react": "^15.3.0",
8180
"react-dom": "^15.3.0"
8281
},
8382
"optionalDependencies": {
8483
"fsevents": "1.0.14"
85-
},
86-
"bundledDependencies": [
87-
"autoprefixer",
88-
"babel-core",
89-
"babel-eslint",
90-
"babel-jest",
91-
"babel-loader",
92-
"babel-preset-react-app",
93-
"babel-preset-stage-0",
94-
"babel-plugin-transform-decorators-legacy",
95-
"case-sensitive-paths-webpack-plugin",
96-
"chalk",
97-
"connect-history-api-fallback",
98-
"cross-spawn",
99-
"css-loader",
100-
"detect-port",
101-
"dotenv",
102-
"eslint",
103-
"eslint-config-react-app",
104-
"eslint-loader",
105-
"eslint-plugin-flowtype",
106-
"eslint-plugin-import",
107-
"eslint-plugin-jsx-a11y",
108-
"eslint-plugin-react",
109-
"extract-text-webpack-plugin",
110-
"file-loader",
111-
"filesize",
112-
"fs-extra",
113-
"gzip-size",
114-
"html-webpack-plugin",
115-
"http-proxy-middleware",
116-
"jest",
117-
"json-loader",
118-
"less",
119-
"less-loader",
120-
"node-sass",
121-
"object-assign",
122-
"path-exists",
123-
"postcss-loader",
124-
"promise",
125-
"react-dev-utils",
126-
"recursive-readdir",
127-
"rimraf",
128-
"sass-loader",
129-
"strip-ansi",
130-
"style-loader",
131-
"stylus",
132-
"stylus-loader",
133-
"url-loader",
134-
"webpack",
135-
"webpack-dev-server",
136-
"webpack-manifest-plugin",
137-
"whatwg-fetch"
138-
]
84+
}
13985
}

tasks/cra.sh

-4
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ cd packages/react-scripts
5959
# Save package.json because we're going to touch it
6060
cp package.json package.json.orig
6161

62-
# Like bundle-deps, this script modifies packages/react-scripts/package.json,
63-
# copying own dependencies (those in the `packages` dir) to bundledDependencies
64-
node $root_path/tasks/bundle-own-deps.js
65-
6662
# Finally, pack react-scripts
6763
scripts_path=$root_path/packages/react-scripts/`npm pack`
6864

tasks/release.sh

-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ npm dedupe
5353
# Since it's in optionalDependencies, it will attempt install outside bundle
5454
rm -rf node_modules/fsevents
5555

56-
# This modifies package.json to copy all dependencies to bundledDependencies
57-
node ./node_modules/.bin/bundle-deps
58-
5956
cd $root_path
6057
# Go!
6158
./node_modules/.bin/lerna publish --independent "$@"

0 commit comments

Comments
 (0)