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

css-loader should understand global aliases #522

Closed
kud opened this issue Apr 27, 2017 · 3 comments
Closed

css-loader should understand global aliases #522

kud opened this issue Apr 27, 2017 · 3 comments

Comments

@kud
Copy link
Contributor

kud commented Apr 27, 2017

I've got:

    resolve: {
      alias: {
        '~': `${SRC_DIR}`,
      }
    },

It could be great if I was directly able to do:

.test {
  composes: base from '~/file.css';
}

without having to define aliases for css-loader.

@alexander-akait
Copy link
Member

@kud see #520 (comment)

@kud
Copy link
Contributor Author

kud commented Apr 28, 2017

Thank you. :)

@alexander-akait
Copy link
Member

Thanks for issue! Let's close in favor #571

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

No branches or pull requests

2 participants