Rich-Harris
31f55a4755
use resolved IDs for external modules to allow options.globals to work with relative imports ( #763 )
9 years ago
Rich-Harris
fdaf343911
-> v0.33.2
9 years ago
Rich Harris
734702bbee
Merge pull request #775 from rollup/gh-770
warn on top-level `this` – fixes #770
9 years ago
Rich Harris
5a450ba23f
Merge pull request #773 from tivac/differentiate-generate
Give ongenerate/onwrite more access
9 years ago
Pat Cavit
9acb92dcd0
Try making ongenerate/onwrite more useful
9 years ago
Rich-Harris
4a8ce666ab
warn on top-level `this` – fixes #770
9 years ago
bmaurer
a9c5850c85
Avoid lazy parsing by adding parens around factory
Most javascript engines do a lazy parsing optimization. For example if they see:
function X() {...}
They won't parse the contents of X until it is executed. However they often have to read the contents of X so that they can see if X uses any variables from the outer scope. Thus X ends up getting parsed twice.
Realizing that often one immediately executes a function, browser have optimized statements of the form:
(function X() {...})()
So that X is not parsed lazily. Traditionally this optimization looks for an open paren before the function. For example, here's the optimization in v8:
203391bcc0/src/parsing/parser.cc (L4256)
Since the factory is immediately executed (at least in the commonJS and global export case), this change avoids the double parsing that comes with parsing the function lazily.
9 years ago
Rich-Harris
c043a413b2
-> v0.33.1
9 years ago
Rich Harris
17d559473b
Merge pull request #760 from hh10k/config-realpath
Use fs.realpathSync() rather than path.resolve() on the config path
9 years ago
Rich Harris
c724b70eff
Merge pull request #751 from futurist/master
FIX: --no-strict command line option not map bug
9 years ago
Kurt Blackwell
e37bc0be8d
Set directory before each sourcemap test so that it can be depended on. Remove relative-paths' dependency on path.relative with process.cwd() which doesn't work in some situations.
9 years ago
Kurt Blackwell
5605ce5c85
Add a test for loading config when the drive letter doesn't match after realpath. List 'fs' as external dependency.
9 years ago
Kurt Blackwell
ce1c784f5b
Use fs.realpathSync() rather than path.resolve() to match filenames passed to require.extensions[]. On Windows resolve(...) returns "c:\..." but realpath(...) returns "C:\...".
9 years ago
1111hui
28491ea540
FIX: --no-strict command line option not map bug
9 years ago
Rich-Harris
85f5e1f347
-> v0.33.0
9 years ago
Rich Harris
c9af35a43f
Merge pull request #749 from rollup/gh-746
indicate source of transform error where possible, and downgrade non-sourcemap-generating transforms to a warning
9 years ago
Rich Harris
78db6134af
indicate source of transform error where possible, and downgrade non-sourcemap-generating transforms to a warning ( #746 )
9 years ago
Rich Harris
9c18b513f5
Merge branch 'fail-exports-all-dup'
9 years ago
Rich Harris
84cccae433
change language to reflect the fact that conflicting namespaces are permitted, if discouraged
9 years ago
Rich Harris
53edfac1f2
-> v0.32.4
9 years ago
Rich Harris
89329f4452
Merge pull request #742 from rollup/hooks
Hooks
9 years ago
Rich Harris
d3bd821732
-> v0.32.3
9 years ago
Rich Harris
91949a7e0b
Merge pull request #747 from rollup/exclude-helpers-from-sourcemaps
exclude plugin helpers from sourcemaps
9 years ago
Rich Harris
5636c1a8b6
Merge pull request #748 from rollup/gh-668
generate correct sourcemap with reified namespaces
9 years ago
Rich Harris
3eae936dbc
generate correct sourcemap with reified namespaces ( #668 )
9 years ago
Rich-Harris
9f2a92d900
exclude plugin helpers from sourcemaps
9 years ago
Bogdan Chadkin
5028da3a27
Test all
9 years ago
Bogdan Chadkin
dfd6b9388f
Merge branch 'fail-exports-all-dup' of github.com:rollup/rollup into fail-exports-all-dup
9 years ago
Bogdan Chadkin
8798331389
Warn on namespace conflicts
9 years ago
Rich-Harris
19900ff17f
-> v0.32.2
9 years ago
Rich Harris
fabe1160be
Merge pull request #744 from rollup/gh-743
allow --globals to work with --external and options.external in whatever configuration
9 years ago
Rich-Harris
03ed02c0f6
allow --globals to work with --external and options.external in whatever configuration ( #743 )
9 years ago
Rich-Harris
ec5b11f76b
failing test for #743
9 years ago
Rich Harris
2a8bc9569e
ass async onwrite hook
9 years ago
Rich Harris
b28a019014
synchronous ongenerate hook ( #353 )
9 years ago
Rich Harris
b478c19894
look for rollup-config-whatever before looking for whatever, to avoid requiring wrong package
9 years ago
Rich Harris
52729b190c
-> v0.32.1
9 years ago
Rich Harris
16272e8808
Merge pull request #738 from rollup/gh-733
Preserve side-effects to default exports that coincide with used named exports
9 years ago
Rich Harris
f5fdedc72e
Merge pull request #739 from rollup/gh-736
Use config files installed in `node_modules`
9 years ago
Rich Harris
e0e4dc1cd2
support rollup --config node:whatever ( #736 )
9 years ago
Rich Harris
9edf864078
only ignore top-level node_modules
9 years ago
Rich Harris
b0582a5384
add another failing test for #733 , but skip it for now
9 years ago
Rich Harris
e628775a42
track side-effects to default exports - fixes #733 , sort of
9 years ago
Rich Harris
f6ac48283f
failing test for #733
9 years ago
Rich Harris
0f86513760
Merge branch 'amilajack-patch-1'
9 years ago
Rich Harris
52511ef264
remove node 5 from travis config, add node 6 to appveyor config
9 years ago
Rich Harris
01f9722991
Merge branch 'patch-1' of https://github.com/amilajack/rollup into amilajack-patch-1
9 years ago
Rich Harris
1a79c69d02
Merge pull request #724 from operandom/debug-cli-external
Handle options.external is a function.
9 years ago
Rich Harris
ad7e093434
Merge branch 'master' into fail-exports-all-dup
9 years ago
operandom
3b12752297
Add missing parameter.
9 years ago