Rich-Harris
1c354babeb
deshadow destructured parameters with assignments ( #1078 )
8 years ago
Rich-Harris
e05bf77efc
fix behaviour of export { foo as default } ( #1078 )
8 years ago
Rich-Harris
1ca90bd374
prevent false positives for sourcemapping url comments with newlines ( #988 )
8 years ago
Rich-Harris
119734af79
include blocks containing activated var declarations ( fixes #1113 )
8 years ago
Pauan
0afa3ed2e8
Removes `new Foo(...)` when Foo is a pure function
8 years ago
Rich-Harris
ccc7ad7352
only remove valid sourcemapping URL comments ( fixes #1132 )
8 years ago
Rich-Harris
4a577a3c44
lint
8 years ago
Rich-Harris
70261d03fa
linting
8 years ago
Rich-Harris
38750c41ec
support plugin outros
8 years ago
Daniel Tschinder
583b13d757
Improves tree-shaking by only considering program-level
assignments as a Bundle's dependent expressions.
8 years ago
Chris Thielen
b1e4384865
Update comments describing property string generation
8 years ago
kzc
2521f2e6e3
be more leniant in processing ExportDefaultDeclaration ( #1146 )
8 years ago
Chris Thielen
f43fd99554
Access global.* using array notation
This allows arbitrary `moduleName` (including names with dashes like `ui-router` or scoped npm packages like `@angular/core`) to be added to the global object.
Closes #582
Closes #584
8 years ago
Rich Harris
2d32cddabf
implement gatherPossibleValues on ExternalDeclaration - fixes #957
8 years ago
Rich Harris
a4927986bd
deduplicate
8 years ago
Rich Harris
81bf060969
quote reserved properties in legacy mode
8 years ago
Rich Harris
209fe7c694
apply https://github.com/rollup/rollup/pull/1062#issuecomment-255536598
8 years ago
kzc
ac04b83362
fix paren issues with tree shaking ( #1101 #1128 )
8 years ago
Oskar Segersvärd
ab3b38f15a
Bundle execution is only dependent on program level call expressions
8 years ago
zackschuster
da4fb22e7a
destructure options in Scope constructor
i couldn't think of a reason you'd opt out of destructuring here; apologies if i'm mistaken somehow
8 years ago
Iván Sánchez Ortega
5881a2867d
Do not output getter defs when in legacy mode
8 years ago
1111hui
d5997f36c3
FIX: test for legacy; remove Object.define for legacy
8 years ago
kzc
e20a332c57
fix TypeError in arrow function without braces returning a function ( #1032 )
8 years ago
chge
c6089e7584
Quote names in module definition if legacy option is set
8 years ago
Rich-Harris
54124770cd
fix missing namespace member warnings ( closes #1045 )
8 years ago
Rich-Harris
f4489515e4
fix behaviour of export * in relation to defaults - fixes #1028
8 years ago
Rich-Harris
a1666103b1
put Object.freeze fallback behind legacy option
8 years ago
Rich-Harris
4eae8da80d
use relative ID for more readable message
8 years ago
Rich-Harris
4040022443
tweak message
8 years ago
Rich-Harris
40643bf543
include default exports in ASI
8 years ago
Rich-Harris
70c38bfaff
linting
8 years ago
Rich-Harris
be952fef12
automatic semicolon insertion ( fixes #1004 , #1009 ). fight me
8 years ago
Rich-Harris
2929f1a771
support function moduleContext option
8 years ago
Rich-Harris
78515c3fb1
better error for missing export ( #1033 )
8 years ago
Nikhil Tilwalli
4fdf3fb9a2
Add support for module-specific context with 'moduleContext' option
8 years ago
Daniel K
b164a46363
Include line & column number in warning message
8 years ago
Daniel K
ed35cef98f
Add module id when warning about top level this
Hard to fix the problem when not knowing which module actually has it.
8 years ago
Vladimir Smyshlyaev
0812aa52d4
refactor: reduce options mutations with reduce
8 years ago
Vladimir Smyshlyaev
daaaeafc75
Cut options validation into method
8 years ago
1111hui
4cff28b3a2
ADD: fallback for Object.freeze
8 years ago
Denis Bardadym
ad22e33dcd
Do not skip non empty block statements
8 years ago
Oskar Segersvärd
2c80dc7d72
Fix #973
8 years ago
Mike Bostock
d9193654dc
Remove redundant check.
8 years ago
Federico Brigante
a3e7b07e85
Avoid exports:auto warning on format:es
8 years ago
Permutator
33934791dd
Default exports that are only used internally now included
8 years ago
Rich-Harris
e36a57527b
prevent {export foo as default} from creating a live binding ( #860 )
8 years ago
Rich-Harris
e152bb95c5
warn on missing unused imports in deshadowing phase, rather than throwing - fixes #928
8 years ago
Rich-Harris
3a73224990
ensure bundle ends with newline – fixes #958
8 years ago
Rich-Harris
819d619aa1
include all ancestors of expression with effects, up to function boundary - fixes #930
8 years ago
Rich-Harris
b26917bff6
include superclass when including a class declaration ( #932 )
8 years ago