Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 14a39cb

Browse files
author
Federico Zivolo
committed
build: Remove UMD/browser build
Unfortunately some dependencies don't support UMD so there's no way to have an UMD build for react-popper v1.x
1 parent 0610f65 commit 14a39cb

File tree

3 files changed

+4
-424
lines changed

3 files changed

+4
-424
lines changed

package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,17 @@
77
"homepage": "https://github.com/souporserious/react-popper",
88
"main": "lib/cjs/index.js",
99
"module": "lib/es/index.js",
10-
"browser": "dist/react-popper.js",
1110
"typings": "typings/react-popper.d.ts",
1211
"files": [
1312
"/dist",
1413
"/lib",
1514
"/typings/react-popper.d.ts"
1615
],
1716
"scripts": {
18-
"build": "npm run build:clean && npm run build:es && npm run build:cjs && npm run build:browser && npm run build:flow",
17+
"build": "npm run build:clean && npm run build:es && npm run build:cjs && npm run build:flow",
1918
"build:clean": "rimraf dist/ && rimraf lib/",
2019
"build:es": "BABEL_ENV=es babel src --ignore '*.test.js,__mocks__' --out-dir lib/es",
2120
"build:cjs": "BABEL_ENV=cjs babel src --ignore '*.test.js,__mocks__' --out-dir lib/cjs",
22-
"build:browser": "rollup -c",
2321
"build:flow": "flow-copy-source --ignore '{__mocks__/*,*.test}.js' src lib/es",
2422
"demo": "parcel --out-dir demo/dist demo/index.html",
2523
"test": "npm run test:eslint && npm run test:flow && npm run test:ts && npm run test:jest",
@@ -98,13 +96,6 @@
9896
"react-portal": "^4.1.4",
9997
"react-transition-group": "^2.2.1",
10098
"rimraf": "^2.6.2",
101-
"rollup": "^0.57.1",
102-
"rollup-plugin-babel": "^3.0.3",
103-
"rollup-plugin-babel-minify": "^4.0.0",
104-
"rollup-plugin-commonjs": "^9.1.0",
105-
"rollup-plugin-node-globals": "^1.2.0",
106-
"rollup-plugin-node-resolve": "^3.3.0",
107-
"rollup-plugin-replace": "^2.0.0",
10899
"typescript": "^2.8.1"
109100
}
110101
}

rollup.config.js

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)