Skip to content

Commit 4781c87

Browse files
committed
ci: fix typescript issue in webpack config
1 parent 7f31443 commit 4781c87

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

webpack.config.ts

+6-7
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,25 @@ const webpackconfiguration: webpack.Configuration = {
3737
libraryTarget: 'umd',
3838
globalObject: 'this',
3939
sourceMapFilename: 'morphism.map',
40-
library: 'Morphism'
40+
library: 'Morphism',
4141
},
4242
resolve: {
43-
extensions: ['.ts', '.tsx', '.js', '.json']
43+
extensions: ['.ts', '.tsx', '.js', '.json'],
4444
},
4545
module: {
46-
rules: [{ test: /\.(ts|js)x?$/, use: ['babel-loader', 'source-map-loader'], exclude: /node_modules/ }]
46+
rules: [{ test: /\.(ts|js)x?$/, use: ['babel-loader', 'source-map-loader'], exclude: /node_modules/ }],
4747
},
4848
plugins: [
4949
new ForkTsCheckerWebpackPlugin({
5050
async: false,
5151
checkSyntacticErrors: true,
5252
reportFiles: ['**', '!**/*.json', '!**/__tests__/**', '!**/?(*.)(spec|test).*'],
53-
watch: './src',
54-
silent: true
53+
silent: true,
5554
}),
5655
new NodemonPlugin(),
5756
new IgnoreNotFoundExportPlugin(),
58-
shouldAnalyzeBundle ? new BundleAnalyzerPlugin({ generateStatsFile: true }) : null
59-
].filter(plugin => plugin)
57+
shouldAnalyzeBundle ? new BundleAnalyzerPlugin({ generateStatsFile: true }) : null,
58+
].filter(plugin => plugin),
6059
};
6160

6261
export default webpackconfiguration;

0 commit comments

Comments
 (0)