Commit 9ee91c69 authored by Eric Poirier's avatar Eric Poirier Committed by Christopher Guindon
Browse files

Update solstice theme and webpack


Signed-off-by: Eric Poirier's avatarEric Poirier <eric.poirier@eclipse-foundation.org>
parent 4caf6ed5
......@@ -9,7 +9,7 @@ The [ide-wg.eclipse.org](https://ide-wg.eclipse.org) website is generated with [
Install dependencies, build assets and start a webserver:
```bash
npm install
yarn
hugo server
```
......
This diff is collapsed.
......@@ -11,25 +11,13 @@
* SPDX-License-Identifier: EPL-2.0
*/
mix = require('laravel-mix');
require('laravel-mix-transpile-node-modules');
mix.transpileNodeModules(['eclipsefdn-solstice-assets']);
mix.options({
uglify: { uglifyOptions: { compress: false, output: { comments: true } } },
});
require('./node_modules/eclipsefdn-solstice-assets/webpack-solstice-assets.mix.js');
let mix = require('laravel-mix');
mix.EclipseFdnSolsticeAssets();
mix.setPublicPath('static');
mix.setResourceRoot('../');
mix.less('./less/styles.less', 'static/css/styles.css');
mix.webpackConfig({
resolve: {
alias: {
jquery: 'jquery/src/jquery',
},
},
});
mix.js('js/main.js', './static/js/solstice.js');
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment