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

Generated theme does not work in Windows #35

Closed
rorticus opened this issue May 18, 2018 · 0 comments · Fixed by #42
Closed

Generated theme does not work in Windows #35

rorticus opened this issue May 18, 2018 · 0 comments · Fixed by #42

Comments

@rorticus
Copy link
Contributor

Bug

The generated theme file does not work in Windows. The theme.ts file that gets generated looks like,

import * as accordionPane from './@dojo\widgets\accordion-pane/accordion-pane.m.css';

export default {
	'@dojo\widgets\accordion-pane': accordionPane
};

Notice specifically the path of the import, ./@dojo\widgets\accordion-pane/accordion-pane.m.css. Those \ characters are causing the import to fail and should be /.

To reproduce, simply use dojo create theme --name test in Windows...

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

Successfully merging a pull request may close this issue.

2 participants