diff --git a/chill.webpack.config.js b/chill.webpack.config.js new file mode 100644 index 000000000..0decfaf47 --- /dev/null +++ b/chill.webpack.config.js @@ -0,0 +1,27 @@ +// this file loads all assets from the Chill main bundle + +// import jQuery +const $ = require('jquery'); +// create global $ and jQuery variables +global.$ = global.jQuery = $; + +const moment = require('moment'); +global.moment = moment; + +const pikaday = require('pikaday-jquery'); + +const select2 = require('select2'); +global.select2 = select2; + +// import js +import {chill} from './Resources/public/js/chill.js'; +global.chill = chill; + +// css +//require('./Resources/public/sass/_custom.scss'); +require('./Resources/public/css/chillmain.css'); +require('./Resources/public/css/pikaday.css'); +require('./Resources/public/css/scratch.css'); +//require('./Resources/public/css/select2/select2.css'); + +// img