This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree 3 files changed +2
-14
lines changed 3 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 17
17
"fix" : " npm-run-all --parallel fix:*" ,
18
18
"lint:css" : " stylelint \" packages/**/*.scss\" ; stylelint --config=test/screenshot/.stylelintrc.yaml \" test/screenshot/**/*.scss\" " ,
19
19
"lint:js" : " eslint packages test scripts webpack.config.js demos/webpack.config.js karma.conf.js" ,
20
- "lint:ts" : " tslint \" packages/**/*.ts\" \" test/**/*.ts\" \" scripts/**/*.ts\" " ,
20
+ "lint:ts" : " tslint --exclude \" test/**/*.d.ts \" \" packages/**/*.ts\" \" test/**/*.ts\" \" scripts/**/*.ts\" " ,
21
21
"lint:html" : " find test/screenshot/spec/ -name '*.html' | grep -v 'index.html$' | xargs htmllint" ,
22
22
"lint:imports" : " node scripts/check-imports.js" ,
23
23
"lint" : " npm-run-all --parallel lint:*" ,
Original file line number Diff line number Diff line change @@ -69,13 +69,6 @@ class JsBundleFactory {
69
69
} ) {
70
70
chunks = chunks || this . globber_ . getChunks ( { inputDirectory, filePathPattern} ) ;
71
71
72
- const babelLoader = {
73
- loader : 'babel-loader' ,
74
- options : {
75
- cacheDirectory : true ,
76
- } ,
77
- } ;
78
-
79
72
return {
80
73
name : bundleName ,
81
74
entry : chunks ,
@@ -95,16 +88,11 @@ class JsBundleFactory {
95
88
test : / \. t s $ / ,
96
89
exclude : / n o d e _ m o d u l e s / ,
97
90
use : [
98
- babelLoader ,
99
91
{
100
92
loader : 'ts-loader' ,
101
93
options : { configFile : tsConfigFilePath } ,
102
94
} ,
103
95
] ,
104
- } , {
105
- test : / \. j s $ / ,
106
- exclude : / n o d e _ m o d u l e s / ,
107
- use : [ babelLoader ] ,
108
96
} ] ,
109
97
} ,
110
98
plugins : [
Original file line number Diff line number Diff line change 23
23
24
24
import 'url-search-params-polyfill' ;
25
25
import bel from 'bel' ;
26
- import { ponyfill } from '../../../packages/mdc-dom' ;
26
+ import { ponyfill } from '../../../packages/mdc-dom/index ' ;
27
27
28
28
window . mdc = window . mdc || { } ;
29
29
You can’t perform that action at this time.
0 commit comments