Commit Graph

9689 Commits

Author SHA1 Message Date
Ben Newman
6075ba5c8c Bump package versions for 1.7.1-beta.13 release. 2018-07-02 11:37:30 -04:00
Ben Newman
83156b0055 Merge branch 'devel' into release-1.7.1 2018-07-02 11:22:51 -04:00
Ben Newman
187b2e9f42 Replace uglify-es with terser, a more actively maintained fork. (#10045)
This may help with lots of issues, most recently #10044 but also #10034, #9976, #9711, and #9568,
to name a few. In particular, since we silently fall back to
`Babel.minify` when `uglify-es` (now `terser`) fails, there should be
fewer problems with `Babel.minify` (parse errors, performance, memory
usage) if `terser` succeeds more often.

Note: because we have bumped the minor versions of `minifier-js` and
`standard-minifier-js`, and they are core packages, you'll have to be
using the next beta version of Meteor 1.7.1 in order to update to these
versions, unless you clone those packages into your local `packages/`
directory. However, if we can validate that `terser` is fully backwards
compatible with `uglify-es`, we might be able to back-port this fix as a
patch update, or publish a Meteor 1.7.0.4 release that permits
`minifier-js@2.4.x`.
2018-07-02 11:21:16 -04:00
Ben Newman
d546f9d0c4 Bump package versions for 1.7.1-beta.12 release. 2018-06-30 13:22:01 -04:00
Ben Newman
e860549bf0 Ignore a few more Babel presets in .babelrc files. 2018-06-30 13:17:29 -04:00
Ben Newman
1e8ef00280 Bump package versions for 1.7.1-beta.11 release. 2018-06-30 12:09:15 -04:00
Ben Newman
2ced13a180 Bump package versions for 1.7.1-beta.10 release. 2018-06-29 18:17:55 -04:00
Ben Newman
0097cd1f2b Make processFilesForTarget methods async in caching-compiler.
This ensures that the entire compilation batch runs in its own Fiber,
since each async function invocation recycles a Fiber from the pool.
2018-06-29 18:17:52 -04:00
Ben Newman
2558f623b0 Avoid creating massive Promise.all blocks in caching-compiler.
With lazy compilation, it should be cheap to pass a ton of files to
processFilesForTarget, as long as only a small percentage of them are
actually used by the application.

Before this change, every inputFile passed to processFilesForTarget would
get its own async function, which took considerably more time to resolve
than using Promise.await inside getResult to handle any Promise returned
by the compileOneFile method.

In other words, this change should significantly reduce the METEOR_PROFILE
timings for items like "other plugin less..." especially during rebuilds,
when very few files actually need to be recompiled.
2018-06-29 17:40:48 -04:00
Ben Newman
32dc8833a1 Bump package versions for 1.7.1-beta.9 release. 2018-06-29 12:26:52 -04:00
Ben Newman
105abf850f Merge branch 'devel' into release-1.7.1 2018-06-29 12:25:23 -04:00
Ben Newman
8a562523a4 Bump webapp package version to 1.6.2. 2018-06-29 12:23:24 -04:00
Ben Newman
d291dffbb3 Fix ROOT_URL path prefix stripping in webapp_server.js. (#10040)
Thanks to @Zodiase for doing most of the investigation here:
https://github.com/meteor/meteor/issues/10019#issuecomment-401225148

Fixes #10019.
2018-06-29 12:22:03 -04:00
Ben Newman
a8b4a30f8e Remove some trailing whitespace from bundle-visualizer files. 2018-06-29 11:53:51 -04:00
James Burgess
9b0f38cec4 Split bundles into separate sunbursts in bundle-visualizer (#10025) 2018-06-29 11:43:45 -04:00
Ben Newman
b920f6fe15 Bump package versions for 1.7.1-beta.8 release. 2018-06-28 19:08:08 -04:00
Ben Newman
e53c74c2cb Merge branch 'devel' into release-1.7.1 2018-06-28 19:04:15 -04:00
Ben Newman
9abd2ce4c8 Add another basic fetch() test. 2018-06-28 18:52:58 -04:00
James Burgess
a20f4e74d8 Replace http with fetch in bundle-visualizer (#10031) 2018-06-28 18:33:44 -04:00
Ben Newman
a024544b45 Switch appcache tests from HTTP to fetch(). 2018-06-28 18:32:31 -04:00
Ben Newman
4363c4d0ec Removed unused http dependency from ddp-client. 2018-06-28 18:32:31 -04:00
Ben Newman
6e4b7b4d3d Remove unused http and random dependencies from autoupdate. 2018-06-28 18:32:30 -04:00
Ben Newman
2be9902a1e Switch dynamic-import from HTTP to fetch. 2018-06-28 18:32:30 -04:00
Ben Newman
06ea07d14b Provide isomorphic implementation of WHATWG fetch() API. 2018-06-28 18:25:14 -04:00
Ben Newman
6b572c6ad3 Bump package versions for 1.7.1-beta.7 release. 2018-06-26 15:48:08 -04:00
Ben Newman
eee2557a44 Update meteor-babel to version 7.0.0-beta.51-1. 2018-06-26 15:45:45 -04:00
Ben Newman
de3fef17ca Stop eagerly forcing compilation of lazy CssOutputResources.
This should be a better fix for the problem I tried to fix with
479e505d71.

If we're going to be using compileOneFileLater by default, that's what we
should be testing in the compiler plugins self-tests.
2018-06-26 13:09:28 -04:00
Ben Newman
f7f3d34181 Mark non-isRoot files lazy in MultiFileCachingCompiler.
The concept of a "root" file is specific to MultiFileCachingCompiler, so
we need to normalize it into a representation that makes sense to the rest
of the compiler plugin system.

Should help with #10014.
2018-06-26 13:09:14 -04:00
Ben Newman
2d4019ddd9 Bump package versions for 1.7.1-beta.6 release. 2018-06-25 16:47:33 -04:00
Ben Newman
156f167d52 Merge branch 'devel' into release-1.7.1 2018-06-25 16:45:30 -04:00
Ben Newman
24865b28a0 Wrap Module.prototype.require instead of using options.wrapRequire.
a630b5c2ac
7a9abeca88
2018-06-25 16:43:46 -04:00
Ben Newman
445fd3714a Update install package used by modules-runtime to version 0.11.1.
This enables using index.* modules with non-.js file extensions to make
the containing directory importable (cc @justinanastos):
c417044421

Since this is a core package patch update, you can update to this version
of the modules-runtime package by running

  meteor update modules-runtime

This should give you modules-runtime@0.10.1.
2018-06-25 13:25:15 -04:00
Ben Newman
f804132d7b Bump package versions for 1.7.1-beta.5 release. 2018-06-23 10:22:28 -04:00
James Burgess
fbea42ca7c Replace generic bundle names with arch names in bundle-visualizer (#10021) 2018-06-22 16:46:34 -04:00
Ben Newman
211d0b25fa Stop eagerly forcing compilation of lazy CssOutputResources.
This should be a better fix for the problem I tried to fix with
479e505d71.

If we're going to be using compileOneFileLater by default, that's what we
should be testing in the compiler plugins self-tests.
2018-06-22 16:43:55 -04:00
Ben Newman
fb8bcf44b0 Mark non-isRoot files lazy in MultiFileCachingCompiler.
The concept of a "root" file is specific to MultiFileCachingCompiler, so
we need to normalize it into a representation that makes sense to the rest
of the compiler plugin system.

Should help with #10014.
2018-06-22 16:43:54 -04:00
Ben Newman
62c6917f8d Bump package versions for 1.7.1-beta.4 release. 2018-06-16 11:04:21 -04:00
Ben Newman
fd7cb50c7a Bump package versions for 1.7.1-beta.3 release. 2018-06-15 16:12:11 -04:00
Ben Newman
0ca6202aab Bump package versions for 1.7.1-beta.2 release. 2018-06-13 19:53:48 -04:00
Ben Newman
a1f4e94c59 Merge branch 'master' into devel 2018-06-13 19:51:26 -04:00
Ben Newman
d3b1847c03 Bump package versions for the official 1.7.0.3 release.
https://github.com/meteor/meteor/pull/9994
2018-06-13 19:00:18 -04:00
Ben Newman
3c4944479d Bump package versions for 1.7.0.3-rc.0 release. 2018-06-13 18:03:21 -04:00
Ben Newman
23fd4158ef Bump package versions for 1.7.1-beta.1 release. 2018-06-13 16:48:49 -04:00
Ben Newman
8fa1dbe45d Merge branch 'devel' into release-1.7.1 2018-06-13 15:52:30 -04:00
Ben Newman
85a66caa89 Merge branch 'master' into devel 2018-06-13 15:30:10 -04:00
Ben Newman
4324c90b25 Bump package versions for the official 1.7.0.2 release.
https://github.com/meteor/meteor/pull/9990
2018-06-13 14:21:23 -04:00
Ben Newman
923949c7eb Bump package versions for 1.7.0.2-rc.0 release. 2018-06-13 12:57:53 -04:00
Ben Newman
41c2dd02f6 Bump ecmascript patch version to 0.11.1.
This is necessary when we bump the babel-compiler package, since the
compile-ecmascript plugin is registered by the ecmascript package.
2018-06-13 12:43:36 -04:00
Ben Newman
5eeb81a32d Update meteor-babel to version 7.0.0-beta.51. 2018-06-13 12:33:35 -04:00
Ben Newman
e5e35804b9 Merge pull request #9983 from meteor/inputFile.addJavaScript-lazyFinalizer-thunk
Support lazy inputFile.addJavaScript for substantial (re)build time savings.
2018-06-13 11:08:34 -04:00