42 Commits

Author SHA1 Message Date
guybedford
08f798f67f boolean conditional type enforce, isPlugin provided unnecessarily, meta and package config to permit global map 2016-02-14 16:04:46 +02:00
guybedford
2a304449ff source maps sanitization adjustments 2016-02-04 15:00:41 +02:00
guybedford
ec4adbd397 #1006 bug 2016-01-06 02:32:08 +02:00
guybedford
8a688f7d21 move source map sanitization back to translate for build support 2016-01-01 20:45:08 +02:00
guybedford
2f56b0c904 transpiler / plugin polishing 2016-01-01 00:20:44 +02:00
guybedford
058777a01f move source maps sanitizing to register 2015-12-31 03:20:48 +02:00
guybedford
4b6a154234 by default plugin modules are detected 2015-12-30 16:56:58 +02:00
guybedford
3c6a0309ea allow transpiler to be a plugin, conditional build fixes, allow format detect 2015-12-30 16:52:39 +02:00
guybedford
cd39187ad8 SystemJS alias, packaging and bundling consistency formalization 2015-12-29 17:29:35 +02:00
guybedford
0d17b43556 fix normalizeSync extension handling for plugins 2015-12-11 18:17:26 +02:00
guybedford
7c98dc1f2b instantiate plugin build support 2015-11-23 14:13:37 +02:00
guybedford
d4adfde0d6 IE fixes (#799) 2015-09-22 14:29:07 +02:00
guybedford
c2ab7142ee implements #759, defaultExtension js default, disabled for plugin syntax 2015-09-05 12:29:11 +02:00
guybedford
0a36eb4810 build tweaks 2015-08-17 14:57:56 +02:00
Matthew Justin Bauer
46c6719954 Respect "pluginFirst" property.
The "pluginFirst" is a boolean property of loader similar to defaultJSExensions. Setting it to true causes SystemJS to follow the plugin syntax of AMD and webpack, where the plugin name comes before the resource identifier. Old syntax was [resource ID]![plugin module ID]. With pluginFirst turned on, [plugin module ID]![resource ID]. See https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md for exact details. Should resolve issue #549.

so require('./index.coffee!coffee')
becomes require('coffee!./index.coffee")

Note that the old anonymous plugin support like require("file.coffee!") which is short for require("file.coffee!coffee") is not enabled. require("!file.coffee") doesn't make as much sense but if necessary it can certainly be enabled.

SystemJS builder may also need to be updated for complete support for this option.
2015-08-12 11:21:56 -05:00
guybedford
4c2b3ac4a3 implement source maps flexibility for plugins (#598) 2015-07-24 16:59:14 +02:00
guybedford
4b6a3700d4 Revert "plugin normalize hook support (#542)"
This reverts commit 35dcda2d4cb92f5974fd31ce2a9c28bab50e2df0.
2015-06-22 23:59:03 +02:00
guybedford
35dcda2d4c plugin normalize hook support (#542) 2015-06-22 23:58:50 +02:00
guybedford
79a81e923a correction from #527 2015-06-22 21:17:01 +02:00
guybedford
974e6e0d8a defaultextension plugin fix 2015-06-17 23:27:09 +02:00
guybedford
30d21c26da allow async and sync plugin normalize (#483) 2015-06-16 13:13:57 +02:00
guybedford
0dbf1e4968 revert async plugin normalization for bundling (#483) 2015-06-15 17:43:27 +02:00
guybedford
d22b6b0c65 async plugin loading 2015-06-11 19:09:19 +02:00
guybedford
2719ab4744 plugin js extension fix 2015-06-06 11:35:16 +02:00
guybedford
b299e4f46d plugin fixes 2015-06-02 22:55:26 +02:00
guybedford
589396c07c js extensions full backwards compat 2015-06-02 16:58:21 +02:00
guybedford
f868477d15 defaultJSExtensions system for backwards compat 2015-06-02 14:17:06 +02:00
guybedford
5d6feea1aa baseURL normalization adjustments, tests, typescript tests 2015-05-30 16:40:02 +02:00
guybedford
2141c64b31 deprecate locate 2015-05-30 16:40:02 +02:00
guybedford
dd46274a38 package and plugin testing 2015-05-25 16:44:27 +02:00
guybedford
990d8054fb ensure plugin fetch is bound 2015-05-25 13:17:47 +02:00
guybedford
2350351b73 meta and plugin tests 2015-05-20 23:15:56 +02:00
guybedford
c6522d206f plugin fix 2015-05-18 23:21:01 +02:00
guybedford
538fa7fd5a plugins backwards compat with *.js paths 2015-05-18 22:02:41 +02:00
guybedford
717699dece loader -> plugin, config normalization 2015-05-12 13:54:06 +02:00
guybedford
bea928daa5 new normalization final adjustments 2015-05-12 13:54:06 +02:00
guybedford
90ab7141dd plugin -> loader on meta 2015-05-12 13:54:06 +02:00
guybedford
de3ed980e9 plugin build fixes 2015-05-12 13:52:55 +02:00
guybedford
f924595ead minor tweaks 2015-05-12 13:52:55 +02:00
guybedford
3ee7cc5d43 always use script CSP support for AMD and System.register loading, CSP and production loader convergence 2015-05-12 13:52:53 +02:00
guybedford
b9d5952c07 allow plugins to be declared via meta 2015-05-12 13:52:53 +02:00
guybedford
c2f8fb64ce update to esml 0.17 build 2015-05-12 13:52:52 +02:00