Skip to content

Commit

Permalink
fix: treat mjs as script
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Oct 20, 2020
1 parent 3716248 commit 575fe2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/src/ChunkExtractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { smartRequire, joinURLPath } from './util'

const EXTENSION_SCRIPT_TYPES = {
'.js': 'script',
'.mjs': 'script',
'.css': 'style',
}

Expand Down

0 comments on commit 575fe2b

Please sign in to comment.