use webpack for all builds
This commit is contained in:
@ -0,0 +1,3 @@
|
||||
const config = require('../../babel.config.js');
|
||||
|
||||
module.exports = config;
|
@ -2,6 +2,7 @@
|
||||
"name": "netlify-cms-editor-component-image",
|
||||
"description": "Image component for Netlify CMS editor widget",
|
||||
"version": "2.0.0-alpha.0",
|
||||
"main": "dist/netlify-cms-editor-component-image.js",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"netlify",
|
||||
@ -9,14 +10,21 @@
|
||||
"editor",
|
||||
"component"
|
||||
],
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"watch": "parcel watch src/*.js --out-dir . --no-cache",
|
||||
"build": "parcel build src/*.js --out-dir . --no-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^16.4.1"
|
||||
"watch": "webpack -w",
|
||||
"build": "cross-env NODE_ENV=production webpack"
|
||||
},
|
||||
"devDependencies": {
|
||||
"parcel-bundler": "^1.9.4"
|
||||
"@babel/cli": "^7.0.0-beta.54",
|
||||
"@babel/core": "^7.0.0-beta.54",
|
||||
"cross-env": "^5.2.0",
|
||||
"rollup": "^0.63.2",
|
||||
"rollup-plugin-babel": "^4.0.0-beta.7",
|
||||
"webpack": "^4.16.1",
|
||||
"webpack-cli": "^3.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.4.1"
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
module.exports = require('../../webpack.config.js');
|
Reference in New Issue
Block a user