File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11
2- import JS_DOM from '@yama-dev/js-dom' ;
3- const dom = new JS_DOM ( ) ;
2+ import * as DOM from '@yama-dev/js-dom/core/' ;
43
5- export default class SCROLL_EFFECT_MODULE {
4+ export class SCROLL_EFFECT_MODULE {
65
76 constructor ( options = { } ) {
87
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ const babelPlugin = [
2727
2828const config = {
2929 mode : env || 'development' ,
30- entry : './src/js-scroll-effect-module.js' ,
30+ entry : {
31+ 'js-scroll-effect-module' : './src/js-scroll-effect-module.js' ,
32+ } ,
3133 output : {
3234 path : `${ __dirname } /dist` ,
33- filename : 'js-scroll-effect-module.js' ,
34- library : 'SCROLL_EFFECT_MODULE' ,
35- libraryExport : 'default' ,
35+ filename : '[name].js' ,
3636 libraryTarget : 'umd'
3737 } ,
3838 module : {
You can’t perform that action at this time.
0 commit comments