File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change
1
+ // index.ts 2.0.0-rc @preserve
2
+
3
+ /**
4
+ * A package's root file. Exports all non jQuery exported classes.
5
+ */
6
+ import './gridstack-poly.js' ;
7
+
8
+ export * from './types' ;
9
+ export * from './utils' ;
10
+ export * from './gridstack-engine' ;
11
+ export * from './gridstack-dragdrop-plugin' ;
12
+ export * from './gridstack' ;
Original file line number Diff line number Diff line change 1
1
const path = require ( 'path' ) ;
2
2
3
3
module . exports = {
4
- entry : './src/index.ts' ,
4
+ entry : {
5
+ 'gridstack-all' : './src/index.ts' ,
6
+ 'gridstack-no-jquery' : './src/gridstack-only.ts'
7
+ } ,
5
8
mode : 'development' ,
6
9
module : {
7
10
rules : [
@@ -16,7 +19,7 @@ module.exports = {
16
19
extensions : [ '.ts' , '.js' ] ,
17
20
} ,
18
21
output : {
19
- filename : 'gridstack.all .js' ,
22
+ filename : '[name] .js' ,
20
23
path : path . resolve ( __dirname , 'dist' ) ,
21
24
library : 'GridStack' ,
22
25
libraryExport : 'GridStack' ,
You can’t perform that action at this time.
0 commit comments