Florent Cailhol
f737b26260
Remove some plugin calls
2017-12-14 14:42:49 +01:00
Tobias Koppers
e8da5a94e8
Merge branch 'next' into refactor/static-template
2017-12-08 08:45:55 +01:00
Florent Cailhol
dcfe3cc4df
Remove `webpack/bootstrap` hash in source map
...
Before this change, a hash was appended to `webpack:///webpack/bootstrap`
and appeared in source maps' `sources`.
Before:
```js
{"version":3,"sources":["webpack:///webpack/bootstrap a0df2f8d793658baad72",…
```
Now:
```js
{"version":3,"sources":["webpack:///webpack/bootstrap",…
```
Quoting @sokra:
> Send a PR to remove this hash in the next branch. It's not needed anyway...
Fix #6082
2017-12-07 17:01:57 +01:00
Tobias Koppers
16ee68b5f9
make all methods on Template static
2017-12-07 09:49:50 +01:00
Tobias Koppers
56328a7cab
upgrate tapable in Templates
2017-11-28 18:43:01 +01:00
Tobias Koppers
2201b860a5
Add mode option and choose defaults depending on mode
...
add optimization options
use development mode for watch/hot/config tests
use production mode for integration/stats tests
create output directory if not existing
move __esModule to runtime
fix dependency behavior for cases without usedExports
2017-11-24 08:17:17 +01:00
Tobias Koppers
41a1d602e1
added WebAssembly Proof of Concept
2017-11-10 09:17:11 +01:00
Tobias Koppers
6bd937d768
make things consitent
2017-09-22 14:07:28 +02:00
Tim Sebastian
dbdc39d86e
refactor maintemplate to handle set instead of array
2017-06-24 11:39:46 +10:00
Tim Sebastian
7972859640
refactor chunk.chunks usage to check for chunk existance
2017-06-24 11:39:46 +10: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
5210230d4b
Merge branch 'master' into master
2017-04-09 09:45:56 +02:00
con-ssc
8b3e587a0d
Added {} around installedModules
2017-03-31 15:07:39 +02:00
Jeff Escalante
b660b649a0
remove extra quote
2017-03-13 22:30:01 -04:00
Jeff Escalante
ff5c28cc54
updates as requested
2017-03-13 22:29:05 -04:00
Jeff Escalante
5dc7c6f30e
template strings in MainTemplate file
2017-03-13 22:29:05 -04:00
Tim Sebastian
9c9f2b89c9
use const where applicable in MainTemplate
2017-02-05 10:30:52 +11:00
Tejas Bubane
c6af4ab3fa
Convert Template and its subclasses to ES2015
...
Subclasses include `MainTemplate`, `ChunkTemplate` and
`HotUpdateChunkTemplate`.
2017-01-13 12:34:21 +05:30
Kees Kluskens
644e3a009b
Upgrade eslint ( #3626 )
...
* Upgrade eslint
* Pin down eslint version
* Temporary fix for difference between js-beautify and eslint
js-beautify suddenly requires a space between `while` here,
but everywhere else we use it without space.
* Remove redundant rules (present in eslint:recommended)
* Add rules comparable to js-beautify rules to eslint
* Add some forgotten files
* Ugh, fix some differences between eslint and js-beautify the nuclear way
* Add back variables
2016-12-29 10:10:41 -06:00
Johannes Ewald
a59672a5e1
Fix spelling of "harmony"
2016-12-07 19:14:47 +01:00
Tobias Koppers
bfc1359a86
improved tree shaking for star exports
...
fixes #3415
2016-12-04 23:50:52 +01:00
Luna Frank-Fischer
5a4e39fe71
added nonce capability
...
change expected outputs of stats cases so they match new output
added nonce test to browser tests
2016-11-23 12:53:56 -08:00
Tobias Koppers
b87bfc0399
added strictModuleExceptionHandling option
...
fixes #1729
2016-11-16 13:09:38 +01:00
Tobias Koppers
25cab58eb3
fixed some standard linting issues
2016-09-20 00:19:39 +02:00
Tobias Koppers
378163af51
moved non-harmony default import function into runtime
...
#2451
2016-07-20 16:20:09 +02:00
Tobias Koppers
2f618e733a
refactoring and aggressive-splitting plugin
2016-07-13 11:03:14 +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
af2a362ba1
move require.onError default to jsonp template
2016-06-04 17:29:43 +02:00
Tobias Koppers
d382b10683
fixed #2570
2016-06-04 14:19:20 +02:00
e-cloud
13322ca35c
add missing constructors for all classes needed
...
As i walk through the source, i've tried to trace the webpack running stack.
Then, i find the missing constructors result in uncleasr stack and create a patch
for them.
2016-05-20 13:39:36 +08:00
Tobias Koppers
1b459d91f5
move externals into chunk with entry
...
fixes #2314
maybe fixes #2066
fixes #2375
fixes #1673
2016-05-05 10:13:50 +02:00
Kanstantsin
06f143daf9
Fix missing __webpack_require__.oe()
2016-04-29 14:36:07 +03: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
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
6ac871344e
moved error handler back to MainTemplate
2016-02-04 13:14:26 +01:00
Tobias Koppers
1c1a5cac3f
smaller bundles without Code Splittings
2016-02-04 12:51:40 +01:00
Tobias Koppers
ded70aef28
moves stuff from webpack-core to webpack-sources
2015-12-29 17:44:55 +01:00
Tobias Koppers
431a4c791c
Merge branch 'master' into webpack-2
...
Conflicts:
hot/dev-server.js
hot/only-dev-server.js
hot/poll.js
hot/signal.js
lib/ChunkTemplate.js
lib/HotModuleReplacement.runtime.js
lib/HotModuleReplacementPlugin.js
lib/JsonpMainTemplatePlugin.js
lib/MainTemplate.js
lib/NormalModule.js
lib/Parser.js
lib/RecordIdsPlugin.js
lib/WebpackOptionsApply.js
lib/dependencies/RequireEnsureDependency.js
lib/node/OldNodeWatchFileSystem.js
lib/optimize/OccurrenceOrderPlugin.js
package.json
2015-07-17 09:30:37 +02:00
Tobias Koppers
5cd6e7d0b3
fixed a few linting issues
2015-07-16 00:39:56 +02: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
8cfeb51c30
refactoring and bug fixes
2015-07-07 00:11:13 +02:00
Tobias Koppers
cf30eeeb0f
Merge branch 'master' into webpack-2
...
Conflicts:
lib/ChunkTemplate.js
lib/Compilation.js
lib/HotModuleReplacement.runtime.js
test/TestCases.test.js
test/statsCases/chunks/expected.txt
test/statsCases/simple-more-info/expected.txt
test/statsCases/simple/expected.txt
2015-07-01 00:44:17 +02:00
Tobias Koppers
4e041dfd52
fixed [chunkhash] and [name] issue
...
fixed #1181
fixed #1018
2015-06-24 23:17:12 +02:00
Tobias Koppers
a6b02f02d8
fixed smaller bundles commit
2015-06-13 17:41:57 +02:00
Tobias Koppers
bb90097dfe
smaller bundles
2015-06-13 16:23:10 +02:00
Tobias Koppers
2245c4acca
Promise based chunk loading API
...
don't flag entry module with `0` id anymore
use extra argument in chunk instead
this allows to require entry points
2015-06-13 11:45:28 +02:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
d9509e8e8d
add publicPath to stats
2015-04-17 10:17:10 +02:00
Tobias Koppers
0431b74149
added cheap-source-map and lineToLine option
2015-04-05 01:52:30 +02:00