mirror of
https://github.com/morten-olsen/parcel.git
synced 2026-02-08 01:36:24 +01:00
update
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import webpack, { Configuration } from 'webpack';
|
||||
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
||||
import WorkboxWebpackPlugin from 'workbox-webpack-plugin';
|
||||
import SriPlugin from 'webpack-subresource-integrity';
|
||||
import path from 'path';
|
||||
|
||||
const data = require('./data.json');
|
||||
@@ -30,10 +29,6 @@ const config: Configuration = {
|
||||
new webpack.DefinePlugin({
|
||||
__DEV__: JSON.stringify(__DEV__),
|
||||
}),
|
||||
new SriPlugin({
|
||||
hashFuncNames: ['sha256', 'sha384'],
|
||||
enabled: !__DEV__,
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
title: `Parcel for ${data.username}`,
|
||||
minify: true,
|
||||
|
||||
Reference in New Issue
Block a user