sarif-web-component/webpack.config.common.js

28 строки
659 B
JavaScript
Исходник Обычный вид История

module.exports = {
resolve: {
extensions: ['.js', '.ts', '.tsx'] // .js is necessary for transitive imports
},
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/
},
{
test: /\.s?css$/,
use: ['style-loader', 'css-loader', 'sass-loader']
},
{ test: /\.png$/, use: 'url-loader' },
{ test: /\.woff$/, use: 'url-loader' },
]
},
2020-03-19 02:09:59 +03:00
performance: {
// azure-devops-ui is the majority of the payload
// and is needed on boot (thus cannot be lazy loaded).
maxAssetSize: 820 * 1024,
maxEntrypointSize: 820 * 1024,
},
2021-06-08 23:42:42 +03:00
stats: 'minimal', // If left on will disrupt `webpack --profile`.
}