1 parent cf742fa commit 7db8792Copy full SHA for 7db8792
1 file changed
tools/webpack/codemirror.config.js
@@ -29,21 +29,22 @@ module.exports = ( env = { buildTarget: 'src/' } ) => {
29
},
30
31
extractComments: false,
32
+ extractComments: false,
33
+ } ),
34
+ ],
35
+ },
36
+ externals: {
37
+ 'csslint': 'window.CSSLint',
38
+ 'htmlhint': 'window.HTMLHint',
39
+ 'jshint': 'window.JSHINT',
40
+ 'jsonlint': 'window.jsonlint',
41
42
+ plugins: [
43
+ new webpack.BannerPlugin( {
44
+ banner: codemirrorBanner,
45
+ raw: true,
46
+ entryOnly: true,
47
} ),
48
],
- },
- externals: {
- 'csslint': 'window.CSSLint',
- 'htmlhint': 'window.HTMLHint',
- 'jshint': 'window.JSHINT',
- 'jsonlint': 'window.jsonlint',
- plugins: [
- new webpack.BannerPlugin( {
- banner: codemirrorBanner,
- raw: true,
- entryOnly: true,
- include: /codemirror\.min\.js/,
- } ),
- ], };
49
+ };
50
};
0 commit comments