mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
Fix jsconfig.json so that import aliases work in VS Code.
This commit is contained in:
parent
d2b4dcbce4
commit
7f2522508e
3 changed files with 24 additions and 11 deletions
|
@ -1,10 +1,9 @@
|
|||
/* eslint-disable */
|
||||
const path = require('path');
|
||||
const merge = require('webpack-merge');
|
||||
const common = require('./webpack.web.common.js');
|
||||
|
||||
const CopyPlugin = require('copy-webpack-plugin');
|
||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||
const ManifestPlugin = require('webpack-manifest-plugin');
|
||||
|
||||
module.exports = merge(common, {
|
||||
devtool: 'inline-source-map',
|
||||
|
@ -41,7 +40,7 @@ module.exports = merge(common, {
|
|||
|
||||
before(app) {
|
||||
// Because the headers config option is broken.
|
||||
app.get("/*", (req, res, next) => {
|
||||
app.get('/*', (req, res, next) => {
|
||||
res.setHeader('Access-Control-Allow-Origin', '*');
|
||||
next();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue