Bogdan Chadkin
b215060634
Wrap source id with quotes in unresolved error
9 years ago
Bogdan Chadkin
8bca62b559
Test for not resolved module
9 years ago
Bogdan Chadkin
bd1c379a17
Reduce transformers error message chain
9 years ago
Bogdan Chadkin
1a2d3dce26
Changde indent default to false
9 years ago
Bogdan Chadkin
684dde0a30
Cache resolvedIds in modules to improve incremental build
9 years ago
Bogdan Chadkin
edf132eecf
Treat path as external dependency
9 years ago
Eli Skeggs
07cb666562
Add new test
9 years ago
Eli Skeggs
c2f65e75cc
Fix existing test
9 years ago
Eli Skeggs
60a4e406b6
Add explicit entry resolve error message
Fixes #802
9 years ago
Rich-Harris
e275a9cd60
oops
9 years ago
Rich-Harris
5c0597d70a
-> v0.34.1
9 years ago
Rich-Harris
93ec667228
more aggressive linting
9 years ago
Rich-Harris
1e98a69e2e
fix export * from external bug
9 years ago
Rich Harris
180ce30876
Merge pull request #781 from hh10k/lint-tests
Introduce eslint to tests. Complaints are fixed, but none of them major.
9 years ago
Rich Harris
0a89a86388
Merge pull request #780 from rollup/gh-754
support paths config
9 years ago
Kurt Blackwell
c5fa9b2a42
Introduce eslint to tests. Complaints are fixed, but none of them major.
9 years ago
Rich-Harris
328d145221
support paths config ( #754 )
9 years ago
Rich-Harris
71e8ce004f
-> v0.34.0
9 years ago
Rich Harris
ff612af0b7
Merge pull request #778 from rollup/gh-756
add newline after sourcemap comment
9 years ago
Rich Harris
a4c36e3cb4
Merge pull request #779 from rollup/gh-755
ensure reassigned exports are declared in an ES bundle
9 years ago
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