Commit Graph

44 Commits (22e4d0c5a09259ad2f7790fbd5b011fccfcf6849)

Author SHA1 Message Date
Rich Harris c765ec6acc simplify module wrapping
9 years ago
Rich Harris 8f5303ad30 Merge branch 'master' into iife
9 years ago
Rich Harris b9327d095d more readable each block values
9 years ago
Rich Harris 2429d93f52 various fixes
9 years ago
Rich Harris 4ccf1ea7b0 wrap ES modules in an IIFE
9 years ago
Rich Harris c72ec1d4fb refactor module wrapping
9 years ago
Rich Harris ef787b84c9 add debugging comments
9 years ago
Rich Harris bc69c67e23 more consistent style for generated code
9 years ago
Rich Harris cbfc609064 scoped styles
9 years ago
Rich Harris 407a457215 validate props, auto-generate props if unspecified
9 years ago
Rich Harris 440bdbe1e0 basic custom element generation (#797)
9 years ago
Rich Harris 25f08b215f replace {{yield}} with <slot/>
9 years ago
Rich Harris 661cb71391 consolidate everything in Component.ts - much cleaner
9 years ago
Rich Harris 8faa01ad5c only cache values when it makes sense
9 years ago
Rich Harris 91c3aa8542 use Records to remove TS errors
9 years ago
Rich Harris fedbab8839 more TS fixes
9 years ago
Rich Harris 60c3c8f7ea fix various typescript errors
9 years ago
Rich Harris 2b15bbae91 tidy up, add sourcemaps to add_css function
9 years ago
Rich Harris 6aed59170a move Stylesheet
9 years ago
Rich Harris 3fae55b199 reduce duplication by moving validation into stylesheet
9 years ago
Rich Harris 8d8e5aa998 remove processCss
9 years ago
Rich Harris 62c70cce9f move css logic into new Stylesheet class, add CSS sourcemap support
9 years ago
Rich Harris e90ca611c5 fix handling of modified :global(...) selectors
9 years ago
Rich Harris 278c44a234 warn on unused selectors
9 years ago
Rich Harris 12977f94d6 refactor a bit, fix typing error
9 years ago
Rich Harris 22e33a7c8c move CSS analysis into preprocess
9 years ago
Rich Harris f644807e7a only apply svelte-123xyz attributes where necessary (WIP)
9 years ago
Rich Harris e8f43c9e3e deconflict name with imports (#655)
9 years ago
Rich Harris 77cd688922 Merge pull request #642 from sveltejs/gh-639-b
9 years ago
Rich Harris 8a095f1d11 mark indirect dependencies of <select> bindings - #639
9 years ago
Rich Harris 0c0122cd1f include ast in svelte.compile return value (#632)
9 years ago
Rich Harris 3cc89a0a95 add trailing commas to prettier config, only run on .ts files
9 years ago
Rich Harris f92b33c130 run prettier on src, update tests
9 years ago
Conduitry e9c63a2803 update for magic-string .overwrite API change
9 years ago
Rich Harris ac83b405a6 add cascade option, to prevent components inheriting styles (#583)
9 years ago
Rich Harris 14936889ae always use helpers if referenced, not just for CallExpressions, and warn on context clashes (#575)
9 years ago
Rich-Harris 1fa899b811 more TS
9 years ago
Rich-Harris 4db0c65218 more TS
9 years ago
Rich-Harris 8af39b4577 more TS
9 years ago
Rich-Harris 8a5b11dd74 more typescript conversion
9 years ago
Rich-Harris 65a82a5683 gah, rollup needs the file extensions. which idiot wrote it
9 years ago
Rich-Harris fd8b09eb2e add a few type annotations
9 years ago
Rich-Harris e8027c6d6f remove .ts file extensions
9 years ago
Rich-Harris 3d234f070b rename all (almost) .js files
9 years ago