File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 6
6
QueueableInterface ,
7
7
} from '@flasher/flasher' ;
8
8
9
- import Swal , { SweetAlertOptions } from 'sweetalert2' ;
9
+ import Swal from 'sweetalert2/dist/sweetalert2.js' ;
10
+ import { SweetAlertOptions } from 'sweetalert2' ;
10
11
import 'sweetalert2/dist/sweetalert2.min.css' ;
11
12
12
13
type SwalType = typeof Swal ;
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export default {
38
38
targets : [ 'dist' ] ,
39
39
} ) ,
40
40
styles ( {
41
+ mode : 'extract' ,
41
42
plugins : {
42
43
cssnano,
43
44
"postcss-discard-comments" : {
@@ -58,12 +59,14 @@ export default {
58
59
format : 'cjs' ,
59
60
exports : 'auto' ,
60
61
sourcemap : ! isProduction ,
62
+ assetFileNames : '[name][extname]' ,
61
63
} ,
62
64
{
63
65
file : module . output ,
64
66
format : 'umd' ,
65
67
exports : 'auto' ,
66
68
sourcemap : ! isProduction ,
69
+ assetFileNames : '[name][extname]' ,
67
70
name : module . name ,
68
71
globals : module . globals || { } ,
69
72
} ,
@@ -72,6 +75,7 @@ export default {
72
75
format : 'umd' ,
73
76
exports : 'auto' ,
74
77
sourcemap : ! isProduction ,
78
+ assetFileNames : '[name][extname]' ,
75
79
name : module . name ,
76
80
globals : module . globals || { } ,
77
81
plugins : [
You can’t perform that action at this time.
0 commit comments