Skip to content

Commit 7db8792

Browse files
westonruterCopilot
andauthored
Fix formatting of codemirror.config.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cf742fa commit 7db8792

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

‎tools/webpack/codemirror.config.js‎

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,22 @@ module.exports = ( env = { buildTarget: 'src/' } ) => {
2929
},
3030
},
3131
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,
3247
} ),
3348
],
34-
},
35-
externals: {
36-
'csslint': 'window.CSSLint',
37-
'htmlhint': 'window.HTMLHint',
38-
'jshint': 'window.JSHINT',
39-
'jsonlint': 'window.jsonlint',
40-
},
41-
plugins: [
42-
new webpack.BannerPlugin( {
43-
banner: codemirrorBanner,
44-
raw: true,
45-
entryOnly: true,
46-
include: /codemirror\.min\.js/,
47-
} ),
48-
], };
49+
};
4950
};

0 commit comments

Comments
 (0)