NK
Size: a a a
NK
NK
NK
mkdir my-cool-project && cd my-cool-project && npm init && здесь скрипт который добавит зависимости && npm install
?NK
NK
NK
AW
AW
AW
require('./file.svg')
require('../folder/file.svg')
AW
AW
AW
MS
require('file.svg')
AW
require('file.svg')
AW
AW
ERROR in ./~/css-loader?{"modules":true,"importLoaders":2,"localIdentName":"[local]--[hash:base64:5]"}!./~/postcss-loader!./~/stylus-loader!./src/editor/sms/style.styl
Module not found: Error: Can't resolve 'add.svg' in '/home/user/project/libs/src/editor/sms'
MS
AW
background: url('add.svg')
MS
background: ~"url(./file.svg)"
MS