mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge tslint-warnings
This commit is contained in:
@@ -27,7 +27,12 @@ export var commonPlugins = [
|
||||
|
||||
// Loader options
|
||||
new webpack.LoaderOptionsPlugin({
|
||||
|
||||
options: {
|
||||
tslint: {
|
||||
emitErrors: false,
|
||||
failOnHint: false
|
||||
},
|
||||
}
|
||||
}),
|
||||
|
||||
];
|
||||
@@ -49,8 +54,13 @@ export var commonConfig = {
|
||||
{ test: /\.ts$/, use: ['awesome-typescript-loader', 'angular2-template-loader'] },
|
||||
{ test: /\.html$/, use: 'raw-loader' },
|
||||
{ test: /\.css$/, use: 'raw-loader' },
|
||||
{ test: /\.scss$/, use: ['raw-loader', 'sass-loader'] },
|
||||
{ test: /\.json$/, use: 'json-loader' }
|
||||
{ test: /\.json$/, use: 'json-loader' },
|
||||
{
|
||||
enforce: 'pre',
|
||||
test: /\.ts?$/,
|
||||
use: 'tslint-loader',
|
||||
exclude: /(node_modules)/,
|
||||
}
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
|
Reference in New Issue
Block a user