forked from EclipseFdn/eclipsefdn-project-adopters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.mix.js
36 lines (33 loc) · 1.34 KB
/
webpack.mix.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*!
* Copyright (c) 2018, 2020 Eclipse Foundation, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
*/
let mix = require('laravel-mix');
mix.setPublicPath('static/assets');
mix.setResourceRoot('../');
// CSS
mix.less('./less/styles.less', './static/assets/css/styles.css');
// JavaScript
mix.scripts([
'./node_modules/jquery/dist/jquery.min.js',
'./node_modules/bootstrap/dist/js/bootstrap.min.js',
'./node_modules/jquery-match-height/dist/jquery.matchHeight-min.js',
'./node_modules/jquery-eclipsefdn-api/dist/jquery.eclipsefdn-api.min.js',
'./node_modules/feather-icons/dist/feather.min.js',
'./node_modules/cookieconsent/src/cookieconsent.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.cookieconsent.js',
'./node_modules/eclipsefdn-solstice-assets/js/eclipsefdn.videos.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.cookies.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.js'
], './static/assets/js/scripts.min.js');
mix.scripts([
'./js/eclipsefdn.adopters.js',
], './static/assets/js/eclipsefdn.adopters.js');