Browse Source

Don't attempt to pack monaco-editor.

r.js packing on monaco-editor is broken as per
Microsoft/monaco-editor#18
dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
608cf801da
  1. 1
      app.build.js
  2. 7
      static/main.js

1
app.build.js

@ -10,6 +10,7 @@
mainConfigFile: "static/main.js",
skipDirOptimize: true,
optimizeCss: "standard",
paths: { "vs": "empty:" },
modules: [
{
name: "main"

7
static/main.js

@ -37,12 +37,9 @@ require.config({
clipboard: 'ext/clipboard/dist/clipboard',
'raven-js': 'ext/raven-js/dist/raven',
'es6-promise': 'ext/es6-promise/es6-promise',
'lru-cache': 'ext/lru-cache/lib/lru-cache'
'lru-cache': 'ext/lru-cache/lib/lru-cache',
'vs': "ext/monaco-editor/release/min/vs"
},
packages: [{
name: "vs",
location: "ext/monaco-editor/release/dev/vs"
}],
shim: {
underscore: {exports: '_'},
'lru-cache': {exports: 'LRUCache'},

Loading…
Cancel
Save