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

21 строка
402 B
JavaScript
Исходник Обычный вид История

module.exports = {
resolve: {
extensions: ['.js', '.ts', '.tsx'] // .js is neccesary 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' },
]
},
}