Rich-Harris
9f2d1b8ada
use resolvers/loaders in order, dont catch errors
9 years ago
Rich-Harris
2d54c12e9c
split up export var a, b, c - fixes #171
9 years ago
Oskar Segersvärd
4e692342fa
Fix foolish mistakes
9 years ago
Oskar Segersvärd
41bfd877f3
Informative error message when namespace property doesn't exist
TypeError: Cannot read property 'addReference' of undefined
->
Export 'foo' is not defined by '<module name>'
9 years ago
Rich-Harris
06b4107440
allow namespace to be assigned to a variable. fixes #168
9 years ago
Rich Harris
fd3ae38c18
make external modules configurable
9 years ago
Rich Harris
f925103863
only exclude strings with newlines, and crop out enclosing quotes - fixes #166
9 years ago
Rich Harris
9a8f331a8b
include members of namespaces that are exported as defaults
9 years ago
Rich Harris
dded04d414
prevent superfluous semi-colons causing whitespace to collapse after functions declarations
9 years ago
Rich Harris
e8fe0d1080
make intermediate dirs in writeFile helper
9 years ago
Rich Harris
7a1eeabc2c
fix travis error, hopefully
9 years ago
Rich Harris
c46afb57c1
roll up acorn
9 years ago
Rich Harris
dfa6492bf8
remove sander dependency
9 years ago
Rich Harris
567bd38ace
prevent deshadowing logic causing double rewrites
9 years ago
Rich Harris
4fcbba63e0
prevent multiline strings being indented ( #164 )
9 years ago
Rich-Harris
3e6fe19a39
brute force merge rewrite -> rewrite-master
9 years ago
Rich Harris
0b628da2d9
allow imports from hidden directories
9 years ago
Rich Harris
940daa4f5b
handle parenthesised default exports ( #136 )
9 years ago
Rich Harris
a1f528d385
handle scoped packages
9 years ago
Rich Harris
7397b37a6d
include module ID in error message ( #143 )
9 years ago
Oskar Segersvärd
6e839f2d38
Extract namespace lookup optimisation into separate pass
9 years ago
Rich-Harris
769cf5834d
linting
10 years ago
Oskar Segersvärd
365f45c7f3
Made Scope.reference stricter. Helps to catch undefined/missing exports.
10 years ago
Oskar Segersvärd
0c83250fae
Polish optimization of namespace lookups
* Explain better how optimization of namespace lookups are done in comments.
* Consider `hasReplacements` to be true if there exists any namespace replacements.
* Improve error messages slightly
10 years ago
Oskar Segersvärd
b325f33a02
Changed the default deconfliction function to behave more like Babel. Should be much faster for many identical identifiers.
10 years ago
Oskar Segersvärd
18ba8f09ac
Don't include 'default' export from 'export * from ...'
10 years ago
Rich Harris
313b108f41
remove some unused code, add some additional tests
10 years ago
Rich Harris
b24c0e2738
oops linux is case sensitive
10 years ago
Rich Harris
74b362baa3
prevent confusion with sourceMappingURL
10 years ago
Luke Page
db4298df4b
Fix directories having '.'
Fixes #133
10 years ago
Rich-Harris
c903bb2e4e
prevent content around synthetic nodes being overwritten twice - fixes #105
10 years ago
Rich-Harris
ac6c2d03db
add bundle.modules - fixes #128
10 years ago
Rich-Harris
7fb0891b08
Revert "guard against undefined `this` in post-processed UMD bundle - fixes #109"
This reverts commit 250678dcf8
.
10 years ago
Rich-Harris
250678dcf8
guard against undefined `this` in post-processed UMD bundle - fixes #109
10 years ago
Rich-Harris
8cec1efb93
mark side-effects later, to avoid late declarations breaking stuff
10 years ago
Rich-Harris
25ca424c2a
mark side-effecty statements (call expressions and assignments to globals) - fixes #112
10 years ago
Rich-Harris
965fa5d008
test default exports are re-exported from internal module with export *
10 years ago
Rich-Harris
db27db36e2
add mark method to base Identifier class (makes project buildable)
10 years ago
Rich-Harris
e13a065bb9
handle assignment patterns
10 years ago
Luke Page
30ecd4373a
Fix tests in windows
10 years ago
Raoul v. R
e7b3cddf55
Modified absolutePath RegExp.
Windows didn't like this regular expression. Added normal slashes to the
mixture.
10 years ago
Raoul v. R
989455f7ef
Modified absolutePath RegExp.
Windows didn't like this regular expression. Added normal slashes to the
mixture.
10 years ago
Oskar Segersvärd
98cf636e2e
Implemented `export * from "internal";`
10 years ago
Oskar Segersvärd
e8d299192e
Made the return value of resolver functions optional. Uses a fallback on failure.
10 years ago
Oskar Segersvärd
d9d5cf4ec2
Made the list of predefined globals easily extensible
10 years ago
Oskar Segersvärd
550171a606
Removed FIXME.
10 years ago
Oskar Segersvärd
9706e3786f
Removed JSONModule. Shouldn't be there.
10 years ago
Oskar Segersvärd
da828f31f8
Added missing test for dynamic namespace lookups
10 years ago
Oskar Segersvärd
42723e8a8b
Made sure unused, intermediate namepaces are excluded when bundling. Fixes form/namespace-optimization
10 years ago
Oskar Segersvärd
7627b6c810
Fixed modifier statements. All tests (but sourcemap/names) pass.
10 years ago