Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tech options works incorrectly for different techs on different levels #67

Open
Yeti-or opened this issue Mar 11, 2018 · 0 comments
Open

Comments

@Yeti-or
Copy link
Member

Yeti-or commented Mar 11, 2018

For example, we have such options:

                    options : {
                        levels : [
                            'common',
                            'project'
                        ],
                        techmap : {
                            js : ['ts', 'js']
                        }
                    }

and we have two files button.js and button.ts
first on level common second on project
right now we get:

   [(
require('./common/button/button.ts')).applyDecls()
    ),(
    (
require('./project/button/button.js')).applyDecls()
    )][0]

so we get only common button
but we want:

   [(
require('./common/button/button.ts'),
require('./project/button/button.js')).applyDecls()
    )][0]

to get full component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant