Commit b4fa9755 authored by Christopher Guindon's avatar Christopher Guindon 🌴
Browse files

Merge branch 'epoirier/main/fix-webpack' into 'main'

Update solstice theme and webpack

See merge request eclipse-wg/oniro-wg/oniroproject.org!18
parents 71b68671 15c2c5cc
......@@ -9,7 +9,7 @@ The Oniro Working Group creates an ecosystem of organizations to support the com
Install dependencies, build assets and start a webserver:
```bash
npm install
yarn
hugo server
```
......
This diff is collapsed.
......@@ -21,7 +21,7 @@
"build_netlify": "NODE_ENV=production npm run production"
},
"dependencies": {
"eclipsefdn-hugo-solstice-theme": "0.0.131"
"eclipsefdn-hugo-solstice-theme": "0.0.132"
},
"browserslist": "last 5 version, > 0.2%, not dead, IE 11"
}
......@@ -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');
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