Alan Zhang
2e62b1207d
Prefix path with ./
2016-11-12 22:19:57 +08:00
Alan Zhang
d4b73ec846
Apply change to Buffer, setImmediate, clearImmediate too.
2016-11-12 01:58:50 +08:00
Alan Zhang
f9502b6612
Replace '\' with '/' to make windows generate same path string as other platforms.
2016-11-12 01:42:00 +08:00
Alan Zhang
4d1d18575b
Change absolute path returned by getPathToModule() to relative path to fix issue #2215
2016-11-11 03:56:13 +08:00
Markus Kramer
9c5c6df64f
replaced calls to Object.assign with objectAssign to support node 0.12.x ( #3080 )
2016-09-30 09:24:05 -05:00
Tobias Koppers
78a2f699e2
beautify
2016-09-15 00:50:07 +02:00
Tobias Koppers
ec262a4007
refactoring: moved parser instancation into NormalModuleFactory
...
breaking change: compiler.parser must no longer be used. Use this instead:
``` js
compiler.plugin("compilation", function(compilation, params) {
params.normalModuleFactory.plugin("parser", function(parser, parserOptions) {
parser.plugin(/* ... */);
});
});
```
required for #2978
2016-09-15 00:22:10 +02:00
Tobias Koppers
2ff9a247e2
better global support, even in strict mode
2016-05-06 11:36:36 +02:00
Tobias Koppers
461c49ab66
updated partly to new enhanced-resolve API
2016-01-02 00:21:54 +01:00
Tobias Koppers
f4b9d5f57a
Merge branch 'master' into webpack-2
...
Conflicts:
lib/Compilation.js
lib/Compiler.js
lib/DefinePlugin.js
lib/HotModuleReplacementPlugin.js
lib/Parser.js
lib/node/NodeSourcePlugin.js
lib/node/OldNodeWatchFileSystem.js
package.json
2015-04-27 20:22:13 +02:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
d2b1bca5d9
Remove compatibly mode for node.Buffer
...
#729
2015-03-05 21:46:54 +01:00
Tobias Koppers
5ca01e92f4
test case for resolving node buildin libs
...
webpack/webpack#747
2015-02-04 23:22:28 +01:00
Tobias Koppers
7da31b2990
change `node.Buffer` in a way that is backward-compatible
...
#709
2015-01-21 20:25:25 +01:00
Johannes Ewald
5a2f35e51a
Add setImmediate and clearImmediate as global function
...
clearImmediate has no own option as it is directly connected with setImmediate
2015-01-06 18:20:45 +01:00
Johannes Ewald
562fe2d507
Change case of option node.buffer to node.Buffer
2015-01-06 18:17:47 +01:00
Tobias Koppers
bf70c88399
throw on missing node.js module
...
fixes #411
2014-08-21 14:43:34 +02:00
Tobias Koppers
3364a26967
upgrade node browser replacements
2014-03-18 22:34:35 +01:00
Tobias Koppers
cff436e829
global should work in strict mode to #102
2013-10-01 10:17:04 +02:00
Tobias Koppers
7b3d01892f
global is not this #102
2013-10-01 10:11:56 +02:00
Tobias Koppers
f9ac3ed2a5
fixed last commit
2013-03-01 15:03:00 +01:00
Tobias Koppers
065a56f603
added Buffer
2013-03-01 14:59:38 +01:00
Tobias Koppers
c4140aac51
moved ConsolePlugin into NodeSourcePlugin
2013-02-26 13:31:05 +01:00
Tobias Koppers
273506ee34
fix for RegExp evalutating, change in node-libs-browser
2013-02-25 18:18:49 +01:00
Tobias Koppers
c1592dfbbf
Moved node libs for browser into separate package
2013-02-25 11:34:33 +01:00
Tobias Koppers
3dc62749a2
moved webworker template, added node.js template #57
2013-02-13 17:00:07 +01:00
Tobias Koppers
8821f7bbf8
fixes #64
2013-02-13 14:57:00 +01:00
Tobias Koppers
27a80536b7
path fix
2013-02-05 08:44:37 +01:00
Tobias Koppers
de2ab63a02
fixed #62 , added NodeSourceRealPathsPlugin
2013-02-05 08:33:32 +01:00
Tobias Koppers
1ce5f465b5
refactored addParsedVariable into ModuleParserHelpers
2013-02-05 08:31:46 +01:00
Tobias Koppers
ee01837d66
Refactored everything for 0.9
2013-01-30 18:49:25 +01:00