Merge pull request #89 from GoogleChromeLabs/mjs

Switch to .mjs for ES Modules.
This commit is contained in:
Jason Miller
2018-07-09 15:45:35 -04:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ module.exports = function (_, env) {
globalObject: 'self' globalObject: 'self'
}, },
resolve: { resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.scss', '.css'], extensions: ['.ts', '.tsx', '.mjs', '.js', '.scss', '.css'],
alias: { alias: {
style: path.join(__dirname, 'src/style') style: path.join(__dirname, 'src/style')
} }