Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Drop custom preact alias

Jason Millere0a10cf33456
diff --git a/webpack.config.js b/webpack.config.js
index 47e5294c..12f95757 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -38,8 +38,7 @@ module.exports = function(_, env) {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.scss', '.css'],
alias: {
'app-entry-point': path.join(__dirname, 'src/index'),
- style: path.join(__dirname, 'src/style'),
- preact$: path.join(__dirname, 'node_modules/preact/dist/preact.js')
+ style: path.join(__dirname, 'src/style')
}
},
resolveLoader: {