Tobias Koppers
47354dd9bb
fix test case
2018-04-09 08:06:54 +02:00
Mohsen Azimi
bbb3a31d7e
convert to integration test
2018-04-07 18:12:43 -07:00
Jan Potoms
dccd8624ed
fix for local modules
2018-04-06 08:30:26 +02:00
Jan Potoms
9a8095eab8
Add more of the node semantics
2018-04-05 22:57:50 +02:00
Jan Potoms
923068b365
add still more tests
2018-04-05 07:41:09 +02:00
Jan Potoms
2856dffb33
Add more tests
2018-04-05 00:22:43 +02:00
Jan Potoms
0cfaadc63f
check result for primitive exports
2018-04-03 21:51:10 +02:00
Jan Potoms
de76773478
Address PR comments
2018-04-03 21:47:41 +02:00
Jan Potoms
22555671ca
Don't error on "new require(...)"
2018-04-01 17:21:26 +02:00
Tobias Koppers
1b50e4e96d
Merge pull request #6833 from webpack/ellipsis
...
Use ellipsis instead of '...'
2018-03-29 11:00:28 +02:00
Jan Potoms
fdc4f9f0f0
copy+paste typo
2018-03-29 08:41:48 +02:00
Jan Potoms
3b3779d7f1
move to cases
2018-03-28 17:33:13 +02:00
Florent Cailhol
72786beee7
Use ellipsis instead of '...'
2018-03-22 10:54:18 +01:00
rhysd
81e47b6eaf
Fix typos
2018-03-13 18:05:58 +09:00
Bazyli Brzóska
b579658d22
Merge branch 'profiling-race' into jest
...
# Conflicts:
# lib/debug/ProfilingPlugin.js
# test/ConfigTestCases.test.js
# test/DependenciesBlockVariable.unittest.js
# test/Examples.test.js
# test/ExternalModule.unittest.js
# test/HotTestCases.test.js
# test/Schemas.lint.js
# test/WebEnvironmentPlugin.unittest.js
# test/cases/mjs/non-mjs-namespace-object-lazy/index.js
# test/cases/runtime/module-caching/index.js
# test/compareLocations.unittest.js
# test/configCases/library/1-use-library/index.js
# test/configCases/plugins/define-plugin/index.js
# yarn.lock
2018-03-07 21:56:06 +01:00
Bazyli Brzóska
81d91d7d60
jest: couple more RegExp replacement fixes
2018-03-07 00:15:32 +01:00
Josh Soref
6e66634c85
spelling: module
2018-02-26 02:33:58 +00:00
Josh Soref
9856ac6f5f
spelling: inlined
2018-02-26 02:32:34 +00:00
Josh Soref
5e49e8c7be
spelling: dependencies
2018-02-26 02:27:30 +00:00
Bazyli Brzóska
7b5c3516f6
Merge branch 'v4-beta3' into jest
...
# Conflicts:
# test/BenchmarkTestCases.benchmark.js
# test/CachePlugin.unittest.js
# test/HotTestCases.test.js
# test/NormalModule.unittest.js
# test/ProfilingPlugin.unittest.js
# test/TestCases.test.js
# test/configCases/parsing/harmony-this/index.js
# test/configCases/plugins/profiling-plugin/index.js
# test/configCases/plugins/profiling-plugin/webpack.config.js
# test/watchCases/runtime/static-import/0/index.js
# yarn.lock
2018-02-25 11:41:05 +01:00
Bazyli Brzóska
e7a671fe65
fix a few more expects and make the test output paths more sturdy
2018-02-25 01:20:45 +01:00
Tobias Koppers
b0949cb2d2
add integration test for spread operator
2018-02-24 13:12:38 +01:00
Bazyli Brzóska
3d23bbcfe4
few more test migration fixes
2018-01-27 16:55:38 +01:00
Bazyli Brzóska
075fcc31d7
migrate should to expect, part 4 (manual)
2018-01-27 16:05:21 +01:00
Bazyli Brzóska
9dc12ffe36
migrate should to expect, part 3
...
\.to\.have\.property\((.+)\)\.toEqual\((.+)\);
➡️
.toHaveProperty($1, $2);
2018-01-27 00:02:43 +01:00
Bazyli Brzóska
a6c2aca36f
migrate should to expect, part 2 (manual)
2018-01-26 23:59:38 +01:00
Bazyli Brzóska
5a8083a930
migrate should to expect, part 1
...
used regexps:
([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\.should\.be\.eql
➡️
expect($1).toBe
expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\[
➡️
expect($1).toEqual([
expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\{
➡️
expect($1).toEqual({
2018-01-26 22:51:03 +01:00
Florent Cailhol
3fb63f94cc
Deprecate System.import() parser plugin
...
- `system: undefined`: Warns if `System.import()` is used
- `system: true`: Disable warning
- `system: false`: Skip `System.import()` instrumentation
2018-01-18 11:34:02 +01:00
Tobias Koppers
8a79c213e7
fix support for patterns in for in/of statements
...
add test case
2018-01-01 10:48:56 +01:00
Florent Cailhol
48b412453c
Make walk/prewalk calls static
2017-12-31 18:09:26 +01:00
Tobias Koppers
2aac6badd5
move generated runtime code to RuntimeTemplate
2017-12-22 19:41:28 +01:00
Tobias Koppers
2148f556a4
Enable minimizing in production mode
2017-12-14 00:06:56 +01:00
Tobias Koppers
c10da6c285
upgrade tapable from Parser
2017-11-28 10:25:48 +01:00
Tobias Koppers
c02ca7705a
Merge branch 'master' into next
2017-11-20 20:18:03 +01:00
Brian Schlenker
28f2ffe7f9
Add test for all amd arrow function cases & fix errors
...
Wrap interpolated functions in parenthesis so they work for both regular
functions and arrow functions. Add amd arrow function tests and prevent
from running through uglifyjs.
2017-11-18 22:45:00 -08:00
Brian Schlenker
007b14eb10
Handle amd define with arrow function
2017-11-18 10:33:48 -08:00
Anuraag Agrawal
ce266cb6f6
Support resourceQuery in context dependencies.
2017-11-16 15:20:50 +09:00
Tobias Koppers
9e42dd6c4a
allow to pass AST directly to webpack
2017-11-03 11:12:45 +01:00
Tobias Koppers
ea56916d53
rename `async` to `mode` in context options
...
`async: false` is now `mode: "sync"`
2017-10-16 14:49:51 +02:00
Tobias Koppers
65dfc15807
Merge branch 'master' into next
...
# Conflicts:
# test/statsCases/external/expected.txt
2017-09-22 19:52:31 +02:00
Logan Smyth
08179b3860
Add tests for .concat alongside template literals.
2017-09-18 16:44:50 -07:00
Logan Smyth
817f4f6772
Rename template-string-specific folder to more general name.
2017-09-18 16:21:14 -07:00
Tobias Koppers
5c489b6c5d
Refactor harmony modules
...
separate side effects from specifier
fixes TDZ for export let/const
bigger bundles are caused by correct export const/let behavior
BREAKING CHANGE: Internal have changed. Plugins could rely on them.
2017-09-14 09:44:32 +02:00
Tobias Koppers
1fb9eb1e47
fixes #5624
2017-09-06 10:33:08 +02:00
Gary Borton
f2e12544e9
[tests] Uncomment inject-free-vars test.
2017-07-27 16:25:05 -07:00
Tobias Koppers
7f1186a348
added resolve.resolveWeak context testcase
2017-07-26 15:00:57 +02:00
Tobias Koppers
6842d50cf9
Call imports with the correct context.
...
Parse arguments of an import call.
Support strictThisContextOnImports in ConcatenatedModules
fixes #5246
fixes #5135
fixes #5111
2017-07-11 19:08:23 +02:00
Tobias Koppers
8a737f33f0
emit correct code for requirejs.onError
2017-07-07 10:27:38 +02:00
Tobias Koppers
b95af19651
emit correct code for typeof require.resolve(Weak) and require
...
fixes #5198
2017-07-07 10:26:58 +02:00
Tobias Koppers
302289ce24
Merge branch 'master' into next
2017-06-02 16:28:22 +02:00
Tobias Koppers
27cc834a49
evaluate some identifiers to truthy values
...
fixes #4596
2017-06-02 13:24:47 +02:00
Tobias Koppers
4901312abf
Merge branch 'master' into next
...
# Conflicts:
# test/statsCases/commons-chunk-min-size-0/expected.txt
# test/statsCases/limit-chunk-count-plugin/expected.txt
2017-05-29 00:41:59 +02:00
Tobias Koppers
6368dd0368
fix browsertests
2017-05-25 13:12:34 +02:00
Tobias Koppers
d967a4623c
add `module.strictThisContextOnImports` option
...
to allow spec-comforming behavior this context on
called imported harmony functions
2017-05-21 09:23:35 +02:00
Tobias Koppers
231a6383e2
fix parsing issue with patterns
2017-05-21 08:10:22 +02:00
Tobias Koppers
272c105f5c
support destructing on assignment
...
fixes #4870
2017-05-21 08:10:13 +02:00
Tobias Koppers
a952bb99a6
change some magic numbers to hoist exports
...
fixes #4753
2017-05-04 13:00:52 +02:00
Tobias Koppers
619cf318ec
prewalk a function declaration
...
fixes #4709
2017-04-14 15:23:27 +02:00
Tobias Koppers
e78745221e
Merge pull request #4700 from webpack/bug/future-var-declaration
...
add parser prewalking to capture scope
2017-04-13 15:23:48 +02:00
Tobias Koppers
52f2daf89f
add test cases and fix a bug
2017-04-13 14:52:49 +02:00
Tobias Koppers
e4b8833128
improve code coverage
2017-04-13 12:37:30 +02:00
Tobias Koppers
3afe67d6fb
add parser prewalking to capture scope
...
fixes #4608
2017-04-13 09:05:29 +02:00
Tobias Koppers
e4a24bf650
Merge pull request #4069 from jharris4/master
...
Add error callback support to require.ensure
2017-04-07 18:12:43 +02:00
jharris4
dca1190f9b
Add test for simulated chunk load error, as requested from code review (required a change to HotModuleReplacement.runtime.js to allow temporarily switching of the chunk loader function to work)
2017-04-07 07:50:17 -04:00
Tim Sebastian
d2de851b83
readd previous checks - refactor System polyfill
...
use webpacks "own" System polyfill, do not try to access a previously existing one.
Instead make sure everything will be "shadowed" by the webpack System. thx @sokra for the help!
2017-03-01 00:41:19 +11:00
Tim Sebastian
c6a8891367
fix tests
2017-02-25 00:13:42 +11:00
Tobias Koppers
21aa837eb2
walk variable patterns for parsed stuff
...
fixes #4357
2017-02-23 23:06:05 +01:00
Tobias Koppers
e8b3170e29
fixes #4179
2017-02-06 13:51:00 +01:00
jharris4
89415f7662
Make tests pass, fix require.ensure syntax
2017-01-20 08:33:09 -05:00
jharris4
6ed45d4448
esnure -> ensure
2017-01-20 08:00:03 -05:00
jharris4
4fab2ef830
Preliminary attempt to add test cases for require.ensure error handler
2017-01-19 23:13:39 -05:00
Tobias Koppers
a44694aa4e
hoist exports declarations too
...
fixes #3972
2017-01-16 15:45:15 +01:00
Tobias Koppers
9bb46d4161
fix for #3964 and tests
2017-01-15 16:41:56 +01:00
Tobias Koppers
a7a41848c7
remove error for CommonJs/AMD in ESM
...
there are too many weird modules
detect harmony modules before parsing
exports is now undefined in ESM
module.exports is now read-only in ESM and returns undefined
define is now undefined in ESM
#3917
2017-01-15 01:44:26 +01:00
Tobias Koppers
4f9cd8153e
fixes and tests for #3755 ( #3862 )
2017-01-09 23:00:03 -06:00
Tobias Koppers
9380bd4c12
Bugfix/disable module in harmony ( #3755 )
...
* moved format location into separate file
allow dependencies to report errors too
* NullDependencies do not change the hash
* dependencies can opt-out from `__webpack_require__` param
* apply module syntax plugins earlier
* emit errors if using AMD or CommonJS syntax in harmony modules
2017-01-09 10:11:34 -06:00
Tobias Koppers
6ae2b07012
make harmony order stable
2017-01-09 00:50:32 +01:00
Alistair Brown
7a43c0ef25
Update missing should type check calls
2017-01-02 00:44:24 +00:00
Tobias Koppers
386d232dfa
fixes #3584
2016-12-28 12:58:43 +01:00
Sean Larkin
6279014c82
add test case for ArrowFunctionExpression with SequenceExpression in body
2016-12-21 17:30:20 -06:00
Sean Larkin
a48a074bd4
fix(require.ensure): add ArrowFunctionExpression support: Fixes #959
2016-12-21 14:09:59 -06:00
Sam
68c44ad842
chore(): add test cases
2016-12-07 10:16:07 +01:00
Tobias Koppers
fbb8920f2e
Merge pull request #3419 from webpack/bugfix/import-export-order
...
insert import and exports in order
2016-12-05 00:34:10 +01:00
Tobias Koppers
a8740fd44c
insert import and exports in order
...
fixes #3382
2016-12-04 23:51:33 +01:00
Tobias Koppers
bfc1359a86
improved tree shaking for star exports
...
fixes #3415
2016-12-04 23:50:52 +01:00
Tobias Koppers
11eefd5841
added import(), fixes #3098
2016-12-03 11:50:44 +01:00
Diogo Franco (Kovensky)
ebd6af2cdb
Support basic template string simplification
2016-11-21 08:37:22 +09:00
Diogo Franco (Kovensky)
36d5aae046
Improve tests, check AMD and CommonJS too
2016-11-21 08:37:22 +09:00
Diogo Franco (Kovensky)
52d8fbc8c1
Add test cases
2016-11-21 08:37:22 +09:00
Tobias Koppers
1237fdedbd
add test with dynamic indexed access to imports
2016-11-15 11:28:34 +01:00
Tobias Koppers
98a232b889
fixes indexed import
...
fixes #3116
2016-11-15 11:28:34 +01:00
Tobias Koppers
aefe8d67a3
support desctruction for variable declaration
...
fixes #3273
2016-11-14 00:23:50 +01:00
Tobias Koppers
ba93f8481b
Merge pull request #3247 from webpack/feature/amd-require-error-handling
...
Feature/amd require error handling
2016-11-09 15:42:31 +01:00
zhaoshengjun
3ca9718ec4
add testing file
2016-11-09 13:31:21 +10:00
zhaoshengjun
4eff59777e
fix(defaultAssign): fix default argument assignment( #3252 )
2016-11-09 11:25:18 +10:00
Tobias Koppers
bbd6eb77e9
Merge pull request #3250 from Kovensky/issue-3238
...
Fix issue #3238
2016-11-08 17:39:50 +01:00
Diogo Franco (Kovensky)
a8fd8e5ec6
Add missing test description
2016-11-08 20:55:58 +09:00
Diogo Franco (Kovensky)
ff2342001a
Add a filter to issue-2895
...
Skips the test in Node 0.12, which doesn't support const.
2016-11-08 20:51:27 +09:00
Diogo Franco (Kovensky)
1e7bbfef0f
Add a test filter to skip platforms where it would crash
2016-11-08 20:08:55 +09:00
Alexander Inozemtsev
16e7383202
Fix AMD require call with three arguments
...
fixes #2641
2016-11-08 08:42:13 +01:00
Diogo Franco (Kovensky)
996a4b660b
Fix issue #3238
2016-11-08 10:40:34 +09:00
Sean Larkin
8d8a7f2822
Merge branch 'master' into update-deps
2016-10-27 08:19:24 -05:00
e-cloud
4098d29d01
test: fix the illegal syntax in a module for test
...
this is related to #1792 , after removing the ilegal code,
the code still cover the cases except case 3.
2016-10-27 14:22:30 +08:00
e-cloud
ebaa00da10
test: update the affected test case with proper interfaces
...
this adjusts the testcase with the new `should` module introduced by
last commit.
2016-10-27 14:15:09 +08:00
Tobias Koppers
c948c81f3e
added harmony test case
2016-09-19 21:13:32 +02:00
Tobias Koppers
3df89413e2
better System polyfilling
...
fixes #2942
2016-09-08 22:39:44 +02:00
Tobias Koppers
a14e563f67
removed LabeledModules
2016-09-07 12:25:02 +02:00
Tobias Koppers
6d1f3e3fa3
fixes #2895
2016-09-07 09:59:12 +02:00
Tobias Koppers
265ba97068
test now result in a warning
2016-08-17 18:15:29 +02:00
Tobias Koppers
706c76c379
fixed #2600
2016-07-20 15:42:52 +02:00
Tobias Koppers
2f618e733a
refactoring and aggressive-splitting plugin
2016-07-13 11:03:14 +02:00
Tobias Koppers
3a6b649016
star import a non-harmony modules behaves like require
...
fixes #2732
2016-07-04 10:24:04 +02:00
Tobias Koppers
c9143d49c7
warn when name is imported that is not exported
2016-06-24 01:52:28 +02:00
Tobias Koppers
5903cc7b0b
refactor how critical warnings are reported
2016-06-24 01:51:52 +02:00
Tobias Koppers
f6efe19d06
added support for default arguments
...
fixes #2622
2016-06-16 01:05:17 +02:00
Tobias Koppers
64972f2f2d
hoist imports
...
fixes #2528
2016-06-16 01:05:17 +02:00
Tobias Koppers
dc22ae2da2
added test filter to exclude const usage from old node.js
2016-06-08 18:37:22 +02:00
Tobias Koppers
1ad7e7c0be
fixes #2618
...
This increases bundle size for non-es6-modules users.
But decreases size of es6-modules users.
We should fix this later.
2016-06-08 00:22:43 +02:00
Tobias Koppers
d9e8ac07c8
added more harmony test cases
2016-06-08 00:22:43 +02:00
Tobias Koppers
23068ad979
check compilance with spec
2016-06-05 22:40:43 +02:00
Tobias Koppers
f4ba0d0f0a
support for importing into object shothand
...
fixed #2522
2016-06-04 15:22:47 +02:00
Tobias Koppers
2edd1ad5eb
support exporting classes
...
fixed #2523
2016-06-04 15:06:10 +02:00
Tobias Koppers
dac1354c14
test infrastructure improvements
2016-06-04 14:47:20 +02:00
Tobias Koppers
b4a1b98adc
added testcase for #2528
2016-06-04 14:19:32 +02:00
Tobias Koppers
d382b10683
fixed #2570
2016-06-04 14:19:20 +02:00
Tobias Koppers
75b93a1438
fixes #2455 , fixes #2460
2016-05-14 14:33:04 +02:00
Tobias Koppers
dbed1d92d0
test compatiblity with node 0.12
2016-05-06 12:23:21 +02:00
Tobias Koppers
a421f69207
fixed test, according to behavior of this
2016-05-06 12:03:23 +02:00
Tobias Koppers
e83e9b8c23
test strict mode
...
enable strict mode if import/export is used
2016-05-06 10:44:31 +02:00
Tobias Koppers
70600729b8
added test case
2016-05-05 17:09:59 +02:00
Tobias Koppers
8c8544abea
Produce correct code and emit better error
...
when trying to use unsupported AMD construct
fixes #2360
2016-05-05 09:26:30 +02:00
Tobias Koppers
ce642eced6
reverted module.e to module.exports
...
because it causes issues with modules that define
exports on the module object
2016-04-21 23:50:40 +02:00
Tobias Koppers
17a68e7a35
added test cases for #2349
2016-04-20 21:55:24 +02:00
Tobias Koppers
3dca892f9a
added another function test
2016-02-22 21:11:51 +01:00
Tobias Koppers
46cb53a171
added another test case for #2084
2016-02-22 19:39:33 +01:00
Tobias Koppers
dc068b4c89
fixes #2084
2016-02-22 18:47:16 +01:00
Tobias Koppers
65e801487c
fixed a bug where called imported were not parsed
2016-02-22 15:18:13 +01:00
Tobias Koppers
19089c3af3
fixed an error with unused reexport
2016-02-22 13:24:14 +01:00
Tobias Koppers
4ee51d5a16
added an extra harmony test
2016-02-22 09:44:47 +01:00
Tobias Koppers
a3d768e708
optimized harmony reexport
...
fixed #2050
2016-02-16 22:31:12 +01:00
Tobias Koppers
902220a0ea
smaller bundles by using module.e instead of module.exports
...
same for module.loaded and module.id
2016-02-13 13:11:34 +01:00
Tobias Koppers
1cf2cb5fef
fixed and test edge cases with this scope in harmony imports
2016-02-13 10:00:47 +01:00
Tobias Koppers
84eb9a2741
fixed this scope in harmony imports
2016-02-13 09:33:30 +01:00
Tobias Koppers
d5a24ced67
fixed #2006
2016-02-09 19:32:50 +01:00
Tobias Koppers
5189d9a321
fixed #2019
2016-02-09 14:27:21 +01:00
Tobias Koppers
a803902ed8
fixed #1883
2016-01-30 12:50:42 +01:00
Tobias Koppers
6bc45850cd
fixed #1840
2016-01-06 21:39:50 +01:00
Markus Padourek
b4f974d673
Added test for new example
2016-01-04 12:07:45 +00:00
Markus Padourek
aa6a556101
export named *
2016-01-04 12:05:49 +00:00
Tobias Koppers
461c49ab66
updated partly to new enhanced-resolve API
2016-01-02 00:21:54 +01:00
Tobias Koppers
22c61618eb
fixed test to include star import of reexported module
...
#1794
2015-12-23 16:34:20 +01:00
Tobias Koppers
bde8636d92
behave according to precedence rules from spec
...
fixed #1792
2015-12-23 16:24:45 +01:00
Tobias Koppers
b6da0ee6d0
expanded test case a bit
2015-12-23 15:13:48 +01:00
Tobias Koppers
a1ed89ecfa
use commonjs compatibility similar to babel
...
#1788
2015-12-23 00:08:06 +01:00
Tobias Koppers
c26aa921ce
fixed #1731
2015-12-22 11:12:06 +01:00
Tobias Koppers
ede0166a75
fixes #1600
2015-11-14 22:41:06 +01:00
Tobias Koppers
03ecbd50f8
allow to use "old" modules from harmony modules
2015-10-31 15:28:13 +01:00
Tobias Koppers
91621a7c4b
hoist exports, more efficent for immutable declarations
2015-10-31 14:43:44 +01:00
Tobias Koppers
0c110b4ac7
added es6 stuff to the parser
...
fixes #1490
2015-10-21 18:14:47 +02:00
Tobias Koppers
5bbfbae551
Merge branch 'master' into webpack-2
...
Conflicts:
package.json
test/statsCases/chunks/expected.txt
2015-07-25 13:49:14 +02:00
Tobias Koppers
dd73373d86
fixed #1044 and fixed #1244
2015-07-22 23:40:46 +02:00
Tobias Koppers
8cfeb51c30
refactoring and bug fixes
2015-07-07 00:11:13 +02:00
Tobias Koppers
ff7848369a
Merge branch 'master' into webpack-2
...
Conflicts:
bin/webpack.js
package.json
2015-05-10 20:41:04 +02:00
Tobias Koppers
9d5113827f
fixed #627
2015-05-10 13:11:45 +02:00
Tobias Koppers
91366def02
added two additional test cases
2015-04-28 23:51:17 +02:00
Tobias Koppers
ed75627f06
Merge branch 'master' into webpack-2
...
Conflicts:
bin/convert-argv.js
package.json
2015-04-14 20:09:29 +02:00
Tobias Koppers
cd5252b962
fixed a bug with wrapped expressions in ?:
2015-03-06 17:02:24 +01:00
Tobias Koppers
6d183d4044
fix more tests
2015-03-05 22:58:03 +01:00
simonzack
5bd10d6e88
Merge remote-tracking branch 'remotes/origin/harmony'
...
Conflicts:
lib/Parser.js
package.json
2015-03-05 15:35:23 +11:00
Will Binns-Smith
6230c4f31d
Windows compatibility and spaces -> tabs.
2015-02-01 20:19:27 -08:00
Will Binns-Smith
5b0e9a7bc6
Resolves #727 : Resolve AMD module dependencies relative to named modules being defined.
2015-01-31 00:26:12 -08:00
Tobias Koppers
6bba5cee91
fixed browsertests
2015-01-14 20:23:43 +01:00
Tobias Koppers
5f77afe5f4
ES6 parser, ES6 modules
2015-01-12 17:45:30 +01:00
Tobias Koppers
e436659b34
fixed test case
2015-01-01 21:59:13 +01:00
Tobias Koppers
4fef1312c5
evaluate null
...
fixes #633
2014-12-22 09:32:42 +01:00
Tobias Koppers
41e42e8589
fixed renaming in IIFEs and Assignments
...
fixed #551 , fixed #494
2014-10-26 11:17:47 +01:00
Tobias Koppers
f27354498c
#551
2014-10-25 18:00:51 +02:00
Tobias Koppers
9738b8a30e
allow string in require.ensure
...
fixed #500
2014-10-07 15:56:15 +02:00
Tobias Koppers
27b23c0302
fixed detection of free vars while evaluating
2014-10-07 15:15:09 +02:00
Tobias Koppers
eaf7b2c102
updated tests for new css-loader
2014-09-22 07:58:36 +02:00
Tobias Koppers
0380796af2
Merged PR #362
...
code style fixes
2014-08-27 16:25:28 +02:00
Jordan Klassen
4a5bfbdf3d
Merge remote-tracking branch 'origin/master' into optional-require-as-global
...
Conflicts:
test/cases/parsing/extract-amd/index.js
2014-08-26 11:14:40 -07:00
Tobias Koppers
1f94924a0c
fixes #426
2014-08-25 10:45:04 +02:00
Tobias Koppers
1bc0b8c0f4
added __webpack_hash__
...
fixes #422
2014-08-25 09:50:26 +02:00
Tobias Koppers
c745597617
support for define([], obj), cs closure in r.e
...
fixes #371
fixes #407
2014-08-21 14:32:24 +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
Tobias Koppers
da5b51cb00
fixed hot error handler test case
2014-08-14 10:24:27 +02:00
Tobias Koppers
eb02ef1e94
add hot self accept with error handler
2014-08-14 10:04:05 +02:00
Tobias Koppers
37a518e77c
added test cases
2014-08-04 08:38:56 +02:00
Tobias Koppers
e5cc07ec96
added #387 test cases
2014-08-01 07:06:31 +02:00
Tobias Koppers
61bc53e875
Shorter and faster empty context
...
#198
2014-07-26 14:48:42 +02: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
f53a7f3e66
fixed parsing of wrapped expressions
...
fixes #345
2014-07-07 13:20:38 +02:00
Tobias Koppers
53322804f9
test case for #343
2014-07-04 13:00:07 +02:00
Tobias Koppers
f68c44fbfd
added UMD browserify test case
2014-06-22 23:43:13 +02:00
Tobias Koppers
ff36642818
added support and a special message for browserify pre-built javascripts.
...
fixed #299
2014-06-05 19:52:45 +02:00
Tobias Koppers
158f35bcf1
parser should not crash if to many arguments are passed to an IIFE
...
fixes #284
2014-05-27 11:52:48 +02:00
Tobias Koppers
23d28ddd43
evaluate stuff for renaming to capture more cases
...
fixes #208
2014-03-19 22:16:17 +01:00
Tobias Koppers
6bdd8100eb
fixes #202
2014-03-12 23:03:07 +01:00
Tobias Koppers
0f25ccfbe0
fixes #202
2014-03-12 22:30:21 +01:00
Tobias Koppers
a9d6afca11
test that assign to require defines require
2014-03-03 15:26:08 +01:00
Tobias Koppers
0fea43b4cb
rename generated require to __webpack_require__
...
fixes #141
fixes RubenVerborgh/N3.js#18
2014-03-03 14:56:17 +01:00
Tobias Koppers
52c7411865
disable broken test cases until #171 is resolved
2014-02-27 09:03:18 +01:00
Tobias Koppers
f0c7815c93
evaluate typeof requrire.ensure/include
...
#183
2014-02-27 08:49:03 +01:00
Tobias Koppers
6086d8cd55
insert free var injection code to correct place
...
webpack/webpack#167
2014-02-12 14:53:33 +01:00
Tobias Koppers
d3a9712193
bug fixing
2014-02-03 18:12:19 +01:00
Tobias Koppers
5e7dfc52cc
experimental renaming support
2014-01-31 14:09:08 +01:00
Tobias Koppers
945d0c686f
started renaming support
...
this currently only works for free vars that are really available.
2014-01-31 10:57:28 +01:00
Tobias Koppers
d1f466e745
local-module support for CJS and AMD require
...
fixes #153
2014-01-24 13:13:21 +01:00
Tobias Koppers
3b40b3fdb7
fixes #155
2014-01-24 12:22:59 +01:00
Tobias Koppers
f67fd530eb
started local modules #153
...
bug fixes
2014-01-23 18:35:56 +01:00
Tobias Koppers
5caa8fb82a
added utf-8 BOM testcases
2014-01-19 23:25:53 +01:00
Tobias Koppers
1df510b919
bug fix
2013-12-31 12:45:46 +01:00
Tobias Koppers
fe2681cb31
track free vars over IIFEs
...
#138
2013-12-31 12:24:22 +01:00
Tobias Koppers
f6e4229fc6
allow bound function expressions in define calls
2013-12-31 12:24:14 +01:00
Tobias Koppers
b4cf56dd0e
fixed rar bug
2013-12-29 12:21:14 +01:00
Tobias Koppers
7cde32c6ca
more reliable in parsing AMD stuff
...
fixes #138
2013-12-29 12:11:03 +01:00
Tobias Koppers
16ebdb5819
96 browser tests are in included in automated tests too
2013-12-15 23:10:41 +01:00