mirror of
https://github.com/flarum/core.git
synced 2025-08-30 19:40:02 +02:00
Webpack (#14)
See https://github.com/flarum/core/pull/1367 * Replace gulp with webpack and npm scripts for JS compilation * Set up Travis CI to commit compiled JS * Restructure `js` directory; only one instance of npm, forum/admin are "submodules" * Restructure `less` directory
This commit is contained in:
13
extensions/approval/js/package.json
Normal file
13
extensions/approval/js/package.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "@flarum/flarum-ext-approval",
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"flarum-webpack-config": "^0.1.0-beta.8",
|
||||
"webpack": "^4.0.0",
|
||||
"webpack-cli": "^3.0.7"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "webpack --mode production --progress",
|
||||
"watch": "webpack --mode development --watch"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user