Rich-Harris
b699a46978
lint
9 years ago
Rich-Harris
dbfa280fcd
ensure reassigned exports are declared in an ES bundle ( #755 )
9 years ago
Rich-Harris
035f66e8d9
reinstate all tests
9 years ago
Rich-Harris
392a338c64
add newline after sourcemap comment. fixes #756
9 years ago
Rich Harris
a9ba650db4
Merge pull request #777 from rollup/gh-763
use resolved IDs for external modules to allow options.globals to work with relative imports
9 years ago
Rich-Harris
98e60efa30
remove superfluous helper
9 years ago
Rich-Harris
8dfbfa3ea5
add back removed path methods for browser
9 years ago
Rich-Harris
bfe49e3d2d
whoops, config file cant have ES6 in node 0.12
9 years ago
Rich-Harris
aa4cf42f45
fix another test
9 years ago
Rich-Harris
262dccfd6f
update test
9 years ago
Rich-Harris
9b165aba78
normalize external relative paths
9 years ago
Rich-Harris
cf4d914c11
gah windows
9 years ago
Rich-Harris
5b4f70725d
experimenting with using native path methods to try and fix windows bugs
9 years ago
Rich-Harris
6a03009faa
dont normalize ID before checking if its external
9 years ago
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