123456789101112131415161718192021222324 |
- const merge = require('webpack-merge').default;
- const config = require('./webpack.config');
- const WPPlugin = require('@jupyterlab/builder').WPPlugin;
- config[0] = merge(config[0], {
- mode: 'production',
- devtool: 'source-map',
- output: {
-
-
- filename: '[name].[contenthash].js?v=[contenthash]'
- },
- optimization: {
- minimize: false
- },
- plugins: [
- new WPPlugin.JSONLicenseWebpackPlugin({
- excludedPackageTest: packageName =>
- packageName === '@jupyterlab/application-top'
- })
- ]
- });
- module.exports = config;
|