str_shorten
Version:
Shorten string by character length with word boundary supported
17 lines (15 loc) • 386 B
JavaScript
const path = require('path');
module.exports = {
webpack: (catalogWebpackConfig) => {
return {
...catalogWebpackConfig,
output: {
path: path.join(__dirname, 'docs/build'),
pathinfo: false,
filename: 'static/[name].[chunkhash:8].js',
chunkFilename: 'static/[name].[chunkhash:8].chunk.js',
publicPath: './'
}
};
}
};