File tree 5 files changed +4
-43
lines changed
5 files changed +4
-43
lines changed Original file line number Diff line number Diff line change 61
61
"karma-mocha" : " ^1.3.0" ,
62
62
"karma-mocha-reporter" : " ^2.2.3" ,
63
63
"mocha" : " ^3.3.0" ,
64
- "postcss" : " ^6.0.2" ,
65
- "postcss-cssnext" : " ^3.0.2" ,
66
- "postcss-import" : " ^10.0.0" ,
67
- "postcss-loader" : " ^2.0.6" ,
68
64
"rimraf" : " ^2.6.1" ,
69
65
"style-loader" : " ^0.18.1" ,
70
66
"tslint" : " ^5.8.0" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ __webpack_public_path__ = (window as any).__jupyter_widgets_assets_path__ || __w
6
6
7
7
import 'font-awesome/css/font-awesome.css' ;
8
8
import '@phosphor/widgets/style/index.css' ;
9
- import '@jupyter-widgets/controls/css/widgets.built. css' ;
9
+ import '@jupyter-widgets/controls/css/widgets.css' ;
10
10
11
11
// Used just for the typing. We must not import the javascript because we don't
12
12
// want to include it in the require embedding.
Original file line number Diff line number Diff line change @@ -7,33 +7,10 @@ var path = require('path');
7
7
8
8
var version = require ( './package.json' ) . version ;
9
9
10
- var postcss = require ( 'postcss' ) ;
11
-
12
10
var rules = [
13
11
{ test : / \. c s s $ / , use : [
14
12
'style-loader' ,
15
- 'css-loader' ,
16
- {
17
- loader : 'postcss-loader' ,
18
- options : {
19
- plugins : [
20
- postcss . plugin ( 'delete-tilde' , function ( ) {
21
- return function ( css ) {
22
- css . walkAtRules ( 'import' , function ( rule ) {
23
- rule . params = rule . params . replace ( '~' , '' ) ;
24
- } ) ;
25
- } ;
26
- } ) ,
27
- postcss . plugin ( 'prepend' , function ( ) {
28
- return function ( css ) {
29
- css . prepend ( "@import '@jupyter-widgets/controls/css/labvariables.css';" )
30
- }
31
- } ) ,
32
- require ( 'postcss-import' ) ( ) ,
33
- require ( 'postcss-cssnext' ) ( )
34
- ]
35
- }
36
- }
13
+ 'css-loader'
37
14
] } ,
38
15
// jquery-ui loads some images
39
16
{ test : / \. ( j p g | p n g | g i f ) $ / , use : 'file-loader' } ,
Original file line number Diff line number Diff line change 34
34
"devDependencies" : {
35
35
"css-loader" : " ^0.28.4" ,
36
36
"json-loader" : " ^0.5.4" ,
37
- "postcss-cssnext" : " ^3.0.2" ,
38
- "postcss-import" : " ^10.0.0" ,
39
- "postcss-loader" : " ^2.0.6" ,
40
37
"rimraf" : " ^2.6.1" ,
41
38
"style-loader" : " ^0.18.1" ,
42
39
"webpack" : " ^3.5.5"
Original file line number Diff line number Diff line change @@ -11,16 +11,7 @@ module.exports = {
11
11
rules : [
12
12
{ test : / \. c s s $ / , use : [
13
13
'style-loader' ,
14
- 'css-loader' ,
15
- {
16
- loader : 'postcss-loader' ,
17
- options : {
18
- plugins : [
19
- require ( 'postcss-import' ) ,
20
- require ( 'postcss-cssnext' )
21
- ]
22
- }
23
- }
14
+ 'css-loader'
24
15
] } ,
25
16
// jquery-ui loads some images
26
17
{ test : / \. ( j p g | p n g | g i f ) $ / , use : 'file-loader' } ,
@@ -30,6 +21,6 @@ module.exports = {
30
21
{ test : / \. t t f ( \? v = \d + \. \d + \. \d + ) ? $ / , use : 'url-loader?limit=10000&mimetype=application/octet-stream' } ,
31
22
{ test : / \. e o t ( \? v = \d + \. \d + \. \d + ) ? $ / , use : 'file-loader' } ,
32
23
{ test : / \. s v g ( \? v = \d + \. \d + \. \d + ) ? $ / , use : 'url-loader?limit=10000&mimetype=image/svg+xml' }
33
- ]
24
+ ]
34
25
} ,
35
26
} ;
You can’t perform that action at this time.
0 commit comments