feat: add ES module builds (#2215)
This commit is contained in:
committed by
Shawn Erquhart
parent
7672f2ae27
commit
d142b32345
@ -4,6 +4,7 @@
|
||||
"version": "2.1.0",
|
||||
"repository": "https://github.com/netlify/netlify-cms/tree/master/packages/netlify-cms-lib-auth",
|
||||
"bugs": "https://github.com/netlify/netlify-cms/issues",
|
||||
"module": "dist/esm/index.js",
|
||||
"main": "dist/netlify-cms-lib-auth.js",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
@ -17,7 +18,8 @@
|
||||
"scripts": {
|
||||
"watch": "webpack -w",
|
||||
"develop": "npm run watch",
|
||||
"build": "cross-env NODE_ENV=production webpack"
|
||||
"build": "cross-env NODE_ENV=production webpack",
|
||||
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore src/**/__tests__/* --root-mode upward"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"immutable": "^3.7.6",
|
||||
|
Reference in New Issue
Block a user