Skip to content

Commit

Permalink
feat(webpack): handle mjs files
Browse files Browse the repository at this point in the history
  • Loading branch information
moklick authored Oct 2, 2018
1 parent c92e1e1 commit f850d8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ module.exports = {
},
module: {
rules: [
{
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto'
},
{
test: /\.(ico|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)(\?.*)?$/,
use: {
Expand Down

0 comments on commit f850d8e

Please sign in to comment.