Alberto Leal
59656c9717
define call should include empty dependencies list
...
see: https://github.com/umdjs/umd/pull/34
> Without this, the factory may be scanned for additional dependencies matching the literal string require("module-id"), which is not correct. See https://github.com/amdjs/amdjs-api/wiki/AMD#simplified-commonjs-wrapping- .
2015-08-19 05:55:34 -04:00
Tobias Koppers
f7d799adb4
rebeautify without spacing after keyword
2015-07-16 00:19:23 +02:00
Avi Haiat
0a340f2b1a
feat(app): Beautify all lib files
2015-07-13 01:20:09 +03:00
Tobias Koppers
738c1d3e68
support library with CommonsChunkPlugin
...
fixes #622
2014-12-22 16:10:23 +01:00
Jason Anderson
f371945a29
Add TemplatedPathPlugin
2014-09-11 15:31:08 +02:00
Tobias Koppers
0380796af2
Merged PR #362
...
code style fixes
2014-08-27 16:25:28 +02:00
Jordan Klassen
95ab7a9960
Merge remote-tracking branch 'origin/master' into optional-require-as-global
...
Conflicts:
lib/UmdMainTemplatePlugin.js
2014-08-19 10:23:33 -07:00
Quentin Raynaud
3c4284f011
add a semi-colon at the end of the UMD template
...
Rationale: the missing semi-colon can cause bugs in some edge cases where webpack
is used to generate a library that will be concatenated in dependent project.
2014-08-03 16:05:40 +02:00
Jordan Klassen
562c446a73
add 'umd2' libraryTarget for optional amd dependancies as globals
2014-07-22 01:45:14 -07:00
Jordan Klassen
6eac904631
Optional externals in amd use globals instead of an explicit dependency
...
There isn't any mechanism in the amdjs spec to provide optional
dependancies (although a requirejs loader plugin could do that, it's not
standard). The best approach found was knockout's optional dependancy on
jquery, for which it doesn't use require, it only uses globals.
This solution will need to be improved for use of requirejs/amd in
commonjs environments, and could be toggled with a flag.
2014-07-17 01:42:44 -07:00
Tobias Koppers
03c87c11a4
support [name] in chunkFilename
...
fixes #358
2014-07-17 01:52:41 +02:00
Tobias Koppers
5104661855
optional externals
...
track optional modules
optional externals for UMD and root
fixes #339
2014-07-03 00:00:06 +02:00
Tobias Koppers
3247725ba3
refactored MainTemplate to plugin interface
2014-06-02 21:23:53 +02:00