vscode/extensions/emmet/extension.webpack.config.js

24 lines
677 B
JavaScript
Raw Normal View History

2018-08-09 12:07:01 +02:00
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
//@ts-check
2018-08-09 12:07:01 +02:00
'use strict';
2020-07-09 17:23:06 +02:00
const path = require('path');
2018-08-20 15:23:56 +02:00
const withDefaults = require('../shared.webpack.config');
2018-08-09 12:07:01 +02:00
module.exports = withDefaults({
2018-08-20 15:23:56 +02:00
context: __dirname,
entry: {
2020-07-09 17:23:06 +02:00
extension: './src/node/emmetNodeMain.ts',
},
output: {
path: path.join(__dirname, 'dist', 'node'),
filename: 'emmetNodeMain.js'
}
});