MCDatepicker icon indicating copy to clipboard operation
MCDatepicker copied to clipboard

You may need an appropriate loader to handle this file type

Open imajim opened this issue 3 years ago • 1 comments

Hello, I'm trying to use tthe datepicker with webpack in symfony but webpack crash:

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loader

i've installed the package with "yarn add mc-datepicker" and in my js : import MCDatepicker from 'mc-datepicker';

but which loader and how to load ?

thx ^^

imajim avatar Dec 13 '21 17:12 imajim

Hi there,

You need to add a sass loader to the webpack, here you can find more info about it: https://webpack.js.org/loaders/sass-loader/#root

mikecoj avatar Dec 14 '21 07:12 mikecoj