mervick / emojionearea

Emoji Picker Plugin for jQuery
https://jsfiddle.net/mervick/1v03Lqnu/765/
MIT License
954 stars 258 forks source link

emojionearea.css.map #306

Open OlegShevtsov1 opened 6 years ago

OlegShevtsov1 commented 6 years ago

I try to add emoionarea to my project Laravel, for compile using command npm run dev. I added files appropriate resouces/assests/css/emoionarea.css //For emojionearea @import 'emojionearea';

and resouces/assests/js/emoionarea.js // for emoticons require('./emojionearea'); $(document).ready(function() { $("#comment").emojioneArea({ }); });

But i get error:

WARNING in ./node_modules/css-loader??ref--8-2!./node_modules/postcss-loader/lib??postcss!./node_modules/resolve-url-loader??ref--8-4!./node_modules/sass-loader/lib/loader.js??ref--8-5!./resources/assets/sass/app.scss (Emitted value instead of an instance of Error) resolve-url-loader cannot operate: CSS error

ENOENT: no such file or directory, open '/home/oleg/public_html/laravel-blog/resources/assets/sass/emojionearea.css.map'

at Object.fs.openSync (fs.js:579:3) @ ./resources/assets/sass/app.scss 4:14-266 @ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss

What is the file emojionearea.css.map ?

Thanks.

mervick commented 6 years ago

Looks like postcss loader trying to parse css.map file what is missed in the project, I think you can disable to parse css.map I will fix this behavior in the next release

OlegShevtsov1 commented 6 years ago

Thanks. How can I disable to parse css.map ?

mervick commented 6 years ago

Using postcss loader, there must be options for this