Forked from
Eclipse Foundation / IT / Websites / opensourceinnovation.eu
72 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
webpack.mix.js 751 B
/*!
* Copyright (c) 2018 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
*/
require('./node_modules/eclipsefdn-solstice-assets/webpack-solstice-assets.mix.js');
let mix = require('laravel-mix');
mix.EclipseFdnSolsticeAssets();
const { env } = require('minimist')(process.argv.slice(2));
mix.setPublicPath('static');
mix.setResourceRoot('../');
mix.less('./less/styles.less', 'static/css/styles.css');
mix.js(
['js/main.js'],
'./static/js/solstice.js'
);