Transpile ES6 to ES5 for filemanager. Closes #224
This commit is contained in:
parent
aa6e733ba5
commit
130aa6cc8a
9 changed files with 39 additions and 7 deletions
11
package.json
Normal file
11
package.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name": "pterodactyl-panel",
|
||||
"devDependencies": {
|
||||
"babel-cli": "6.18.0",
|
||||
"babel-plugin-transform-strict-mode": "^6.18.0",
|
||||
"babel-preset-es2015": "6.18.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "./node_modules/babel-cli/bin/babel.js public/js/files --source-maps --out-file public/js/filemanager.min.js"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue