mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-16 10:39:53 +00:00
Merge pull request #89 from GoogleChromeLabs/mjs
Switch to .mjs for ES Modules.
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = function (_, env) {
|
||||
globalObject: 'self'
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.ts', '.tsx', '.js', '.jsx', '.scss', '.css'],
|
||||
extensions: ['.ts', '.tsx', '.mjs', '.js', '.scss', '.css'],
|
||||
alias: {
|
||||
style: path.join(__dirname, 'src/style')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user