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

Cannot find module '..' #43

Closed
davidenco opened this issue Jun 15, 2017 · 1 comment
Closed

Cannot find module '..' #43

davidenco opened this issue Jun 15, 2017 · 1 comment
Labels

Comments

@davidenco
Copy link

Using the following CSS:

@font-face {
font-family: 'Open Sans';
font-weight: normal;
font-style: normal;
src: local('Open Sans'),
local('Open-Sans-regular'),
url('../fonts/OpenSans2/Regular/Open-Sans-regular.woff2') format('woff2'),
url('../fonts/OpenSans2/Regular/Open-Sans-regular.woff') format('woff');
}

From the current working directory, I can access the paths above as they are (including the ".."). However when trying to minify the CSS file, the output is:

Cannot find module '..'

I am using minify v2.1.6, npm v5.0.3 and nodejs v6.11.0.

@coderaiser
Copy link
Owner

Thank you, fixed with fd32fa7, landed in v2.1.7.

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

No branches or pull requests

2 participants