mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
add missing chill.webpack.config.js
This commit is contained in:
parent
8d9d737dd8
commit
abc2a8abae
27
chill.webpack.config.js
Normal file
27
chill.webpack.config.js
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user