Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
]),
new webpack.DllReferencePlugin({
context: paths.base('node_modules'),
manifest: require(paths.base('dll/vendor-manifest.json')),
}),
new HtmlWebpackPlugin({
template: paths.docsSrc('index.ejs'),
filename: 'index.html',
hash: false,
inject: 'body',
minify: {
collapseWhitespace: true,
},
versions: {
jsBeautify: require('js-beautify/package.json').version,
lodash: require('lodash/package.json').version,
propTypes: require('prop-types/package.json').version,
react: require('react/package.json').version,
reactDOM: require('react-dom/package.json').version,
sui: require('semantic-ui-css/package.json').version,
suir: require('./package.json').version,
},
}),
],
resolve: {
extensions: ['.ts', '.tsx', '.js', '.json'],
alias: {
'@stardust-ui/react': paths.src(),
src: paths.src(),
docs: paths.base('docs'),
'package.json': paths.base('package.json'),