Buslowicz / twc

TypeScript based, boilerplate-less, Polymer toolbox friendly Polymer Modules
32 stars 1 forks source link

Imports are not processed when tsconfig is present #46

Closed tpluscode closed 7 years ago

tpluscode commented 7 years ago

Similarly to #43, import 'link!... and import 'script!... are not turned into <link> or <script> at all. They are left intact. For example with AMD the output for element defined as

import 'link!ags-field.html';

@template('ags-form.html')
export class AgsForm { }

is like

<dom-module id="ags-form">
    <template>
    </template>
    <script>
        (function() {
            define(["require", "exports", "link!ags-field.html"], function(require, exports) {
                "use strict";

                Polymer({
                });        
            });    
        }());
    </script>
</dom-module>