mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 15:04:41 +12:00
Fixed grunt babel path and added --dev option
This commit is contained in:
parent
9ad55668a1
commit
2e498c82a0
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ module.exports = function (grunt) {
|
||||||
babel: {
|
babel: {
|
||||||
options: {
|
options: {
|
||||||
loose: "all",
|
loose: "all",
|
||||||
compact: true
|
compact: !grunt.option('dev')
|
||||||
},
|
},
|
||||||
dist: {
|
dist: {
|
||||||
files: [{
|
files: [{
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: "src/",
|
cwd: "src/",
|
||||||
src: ["/**/**.*"],
|
src: ["**/**.*"],
|
||||||
dest: "lib/",
|
dest: "lib/",
|
||||||
ext: ".js"
|
ext: ".js"
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in a new issue