Commit Graph

32 Commits (e032f77fb909de318b35868dd8bf4e5b0405821e)

Author SHA1 Message Date
Alexandru Dima d71d21ec6f
Merge remote-tracking branch 'origin/master' into pr/jimmydief/83 5 years ago
Alexandru Dima da92d8fcc8
Merge remote-tracking branch 'origin/master' into pr/jimmydief/81 5 years ago
Alexandru Dima 8aa2205ff3
Simplify code since alias is no longer used 5 years ago
James Diefenderfer 3bab84bf28
add support for dynamic filenames
Add support for custom filename template for worker scripts.
5 years ago
James Diefenderfer e7551d3bf9
reference free variable 5 years ago
James Diefenderfer c9c13e7b55
add support for plugin-specific public path
Override the public path from which files generated by this plugin will be served. This wins out over Webpack's dynamic runtime path and can be useful to avoid attempting to load workers cross-origin when using a CDN for other static resources.
5 years ago
Mike Greiling 4273b13ac4
Webpack property __webpack_public_path__ must be a free var 6 years ago
Alex Dima ca9e6a49ed Fixes #52 6 years ago
Alexandru Dima 1bd93df64b
Merge pull request #37 from nicoabie/exclude-features
Feature exclude
7 years ago
Chris Dakin 66254d1e60 Fix handlebars language loader
Handlebars shares a worker with html in the same way that
javascript/typescript and css/less/scss share workers. However, the
handlebars/html association was missing from the createLoaderRules
function. This was causing a bad network request when the language was
set to handlebars in the monaco-editor due to trying to load an
undefined web worker.

This change associates the handlebars and html workerPaths to prevent
these issues.
7 years ago
Alex Walter afb9f52b7c
Remove untranspiled ES2015 from final output 7 years ago
Nicolás Andrés Gallinal 97fa344ed9 Add ability to exclude certain default features by prefixing them with an exclamation mark 7 years ago
Jiabin Peng 68cb00d20f
fix rule test for windows user 7 years ago
佛肚 cb473c82aa Absolute Path will be broken when npm in symlink mode(cnpm) 7 years ago
Alex Dima ca5e6abbe0 Do not create file:/// protocol fallback for web workers 7 years ago
Alex Dima f86321e052 Align languages with upcoming editor release 7 years ago
Alex Dima e605ab21ef Fixes #26 7 years ago
Alex Dima 92ea8b5d76 Fix regular expressions on Windows (Fixes #3) 7 years ago
Alex Dima ebe8c27add Fixes #21 7 years ago
Tim Kendrick c20f6dd6aa Fix worker output path in loader rules 7 years ago
Dmitriy Lyner fa97cf3a83 nvm string syntax. oops 7 years ago
Dmitriy Lyner 7a8774bafd an extra \ snuck in compared to origina ldeleted function 7 years ago
Dmitriy Lyner 29bed5adbd rename parameter string to str purely to prevent confusion 7 years ago
Dmitriy Lyner b6b4422ab4 remove console log and condense return into 1 line 7 years ago
Dmitriy Lyner f7a3a213f6 per timkenrick's feedback. Slight modification in that the outer function (MonacoEnvironment iife) is run at build time while the getWorkerUrl function is run at runtime so we must move the logic for accessing window.__webpack_public_path__ inside. 7 years ago
Dmitriy Lyner 87f68ff7af base case 7 years ago
Dmitriy Lyner 44bfaed10e this is more inline with webpack https://webpack.js.org/concepts/output/\#advanced 7 years ago
Dmitriy Lyner f1ea23c229 fix logic. It's more lines of code but safer. 7 years ago
Dmitriy Lyner 083face122 Take <base href=..> into account 7 years ago
Alex Dima 2639244ae8 Fix path lookup 7 years ago
Alex Dima 118c0d5783 Improve README, webpack consumption 7 years ago
Tim Kendrick 7c18d303e6 Add webpack loader plugin 7 years ago