修复Shadow.UI错误。

This commit is contained in:
liteng 2018-10-29 21:12:06 +08:00
parent 1d09fac089
commit 20cda2a258
2 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@ export default {
output: {
indent: '\t',
format: 'umd',
name: 'Shadow.UI',
name: 'Shadow',
file: 'ShadowEditor.UI/dist/ShadowUI.js'
},
treeshake: true,

View File

@ -1,5 +1,7 @@
import '../assets/css/main.css';
export { default as UI } from './UI';
import UI from './UI';
window.UI = UI;
window.UI = UI;
export { default as UI } from './UI';