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

Path модуль #3

Open
frontenddeveloping opened this issue Jan 27, 2016 · 2 comments
Open

Path модуль #3

frontenddeveloping opened this issue Jan 27, 2016 · 2 comments

Comments

@frontenddeveloping
Copy link

Лучше использовать path для путей в конфиге context: path.join(__dirname, 'src') в примерах, так как __dirname + '/src' вызывает проблемы типа:

ERROR in ./common/table/index.styl
Module not found: Error: Cannot resolve 'file' or 'directory' ./../../../node_modules/style-loader/addStyles.js in C:\Projects\server\buildlib\web\new_web\static/src\comm
resolve file

Проблема в static/src, спасибо

@anagami
Copy link

anagami commented Mar 26, 2016

так же при записи __dirname + '/src' есть проблемы с режимом watch в win10

@iliakan
Copy link
Owner

iliakan commented May 18, 2016

Т.е. неверный слэш даёт проблемы с watch? @anagami ?

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

3 participants