Add task to build extension media (#119294)

This lets us avoid checking in the compiled js files that are used inside webviews and notebooks
This commit is contained in:
Matt Bierner
2021-03-18 19:15:59 -07:00
committed by GitHub
parent 1b52d82871
commit c0885dd0c4
11 changed files with 76 additions and 21 deletions

View File

@@ -6,6 +6,13 @@ const path = require('path');
const CopyPlugin = require('copy-webpack-plugin');
module.exports = {
context: path.resolve(__dirname),
mode: 'production',
performance: {
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000
},
entry: {
katex: './notebook/katex.ts',
emoji: './notebook/emoji.ts',