Delete the custom bundle script in favor of an npm package (#1433)

This commit is contained in:
Ismail El Korchi 2020-05-15 00:25:03 +00:00 committed by GitHub
parent 759502c763
commit ef77ee91d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 94 deletions

View file

@ -18,7 +18,7 @@
},
"devDependencies": {
"@wordpress/scripts": "^9.0.0",
"archiver": "^4.0.1",
"dir-archiver": "^1.1.1",
"node-sass": "^4.14.0",
"rtlcss": "^2.5.0"
},
@ -41,6 +41,6 @@
"compile:rtl": "rtlcss style.css style-rtl.css",
"lint:scss": "wp-scripts lint-style 'sass/**/*.scss'",
"lint:js": "wp-scripts lint-js 'js/*.js'",
"bundle": "node bin/bundle.js"
"bundle": "dir-archiver --src . --dest ../_s.zip --exclude .DS_Store .stylelintrc.json .eslintrc .git .gitattributes .github .gitignore README.md composer.json composer.lock node_modules vendor package-lock.json package.json .travis.yml phpcs.xml.dist sass style.css.map"
}
}