Skip to content

Commit

Permalink
fix bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed Dec 11, 2019
1 parent 287cc5d commit ad47aeb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,6 +1,6 @@
build/
dist/
*.min.js
**/*.min.js
node_modules/
coverage/
test/**/*-failed.png
Expand Down
2 changes: 2 additions & 0 deletions modules/core/bundle/debug.js
Expand Up @@ -3,3 +3,5 @@ import {getLoggers} from '../src/debug/loggers';

const loggers = getLoggers(deck.log);
deck._registerLoggers(loggers);

module.exports = deck;
1 change: 0 additions & 1 deletion modules/core/debug.min.js

This file was deleted.

3 changes: 2 additions & 1 deletion scripts/bundle.config.js
Expand Up @@ -55,7 +55,8 @@ const config = {
output: {
libraryTarget: 'umd',
path: PACKAGE_ROOT,
filename: 'dist.min.js'
filename: 'dist.min.js',
library: 'deck'
},

resolve: {
Expand Down

0 comments on commit ad47aeb

Please sign in to comment.