Browse Source

Removed d3 from globals.

obersalzberg
Sebastian Kupke 1 year ago
parent
commit
a44fd6c469
2 changed files with 6 additions and 19 deletions
  1. +0
    -1
      .eslintrc
  2. +6
    -18
      gulpfile.js

+ 0
- 1
.eslintrc View File

@ -22,7 +22,6 @@
"TweenMax": false,
"TimelineLite": false,
"TimelineMax": false,
"d3": false,
"SystemJS": false,
"app": true
},

+ 6
- 18
gulpfile.js View File

@ -38,13 +38,9 @@ function vendors() {
}
function preload() {
return src(
[
'./node_modules/gsap/src/uncompressed/TweenMax.js',
'./lib/3rdparty/convertPointFromPageToNode.js'
],
{ sourcemaps: false }
)
return src(['./node_modules/gsap/src/uncompressed/TweenMax.js', './lib/3rdparty/convertPointFromPageToNode.js'], {
sourcemaps: false
})
.pipe(concat('iwmlib.3rdparty.preload.js'))
.pipe(replace(/^\/\/# sourceMappingURL=.*$/gim, ''))
.pipe(dest('dist', { sourcemaps: false }))
@ -54,17 +50,9 @@ function preload() {
}
function prettify() {
return src(
[
'./lib/*.js',
'./lib/card/*.js',
'./lib/pixi/*.js',
'!./lib/bootstrap.babel.js'
],
{
base: './lib'
}
)
return src(['./lib/*.js', './lib/card/*.js', './lib/pixi/*.js', '!./lib/bootstrap.babel.js'], {
base: './lib'
})
.pipe(
prettier({
singleQuote: true,

Loading…
Cancel
Save