8000 feat: support relative path1 in join. by 3cp · Pull Request #35 · aurelia/path · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: support relative path1 in join. #35

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

Merged
merged 1 commit into from
Aug 23, 2019
Merged

feat: support relative path1 in join. #35

merged 1 commit into from
Aug 23, 2019

Conversation

3cp
Copy link
Member
@3cp 3cp commented Aug 14, 2019

This is to support aurelia.use.feature('../src') and aurelia.use.plugin('../../local-plugin/dist/native-modules') for easier local plugin development. To be fair, this doesn't work in cli-bundler as requirejs doesn't support moduleId starting in "../". This doesn't work in webpack either, but we probably can update aurelia-webpack-plugin PreserveModuleNamePlugin to support it. This feature improves dumber experience when developing Aurelia plugin locally. Well, we don't have official offering of skeleton for dumber, but I am planning to use this feature in aurelia skeleton in https://github.com/dumberjs/new.

@bigopon
Copy link
Member
bigopon commented Aug 14, 2019

Cc @jods4

@jods4
Copy link
jods4 commented Aug 14, 2019

It might work in webpack if you don't use conventions in the plugin; or if you do a small tweak, see webpack-plugin#164.

At least with webpack an alternative to dotting out of source is setting up aliases.

This is to support aurelia.use.feature('../src') and aurelia.use.plugin('../../local-plugin/dist/native-modules') for easier local plugin development. To be fair, this doesn't work in cli-bundler as requirejs doesn't support moduleId starting in "../". This doesn't work in webpack either, but we probably can update aurelia-webpack-plugin PreserveModuleNamePlugin to support it. This feature improves dumber experience when developing Aurelia plugin locally. Well, we don't have official offering of skeleton for dumber, but I am planning to use this feature in https://github.com/dumberjs/new.

closes #27
@3cp
Copy link
Member Author
3cp commented Aug 23, 2019

@EisenbergEffect can you review this? This is a safe change. We can call this either feat or fix.

@EisenbergEffect EisenbergEffect merged commit a15e565 into aurelia:master Aug 23, 2019
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

Successfully merging this pull request may close these issues.

4 participants
0