massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-json-languageserver / extension-browser.webpack.config.js
1 /*---------------------------------------------------------------------------------------------
2  *  Copyright (c) Microsoft Corporation. All rights reserved.
3  *  Licensed under the MIT License. See License.txt in the project root for license information.
4  *--------------------------------------------------------------------------------------------*/
5
6 //@ts-check
7
8 'use strict';
9
10 const withBrowserDefaults = require('../../shared.webpack.config').browser;
11 const path = require('path');
12
13 module.exports = withBrowserDefaults({
14         context: __dirname,
15         entry: {
16                 extension: './src/browser/jsonServerMain.ts',
17         },
18         output: {
19                 filename: 'jsonServerMain.js',
20                 path: path.join(__dirname, 'dist', 'browser'),
21                 libraryTarget: 'var'
22         }
23 });