Commit 11090ab9 authored by Christopher Guindon's avatar Christopher Guindon
Browse files

update js from solstice-assets


Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent 3ff54d6c
......@@ -11,7 +11,7 @@ The OSGi WG is a worldwide consortium of technology innovators that advances a p
Install dependencies, build assets and start a webserver:
```bash
npm install && hugo server
yarn && hugo server
```
You can find guidance on the page-level metadata [here](https://eclipsefdn-hugo-solstice-theme.netlify.app/), and examples of the assorted page types (components) [here](https://eclipsefdn-hugo-solstice-theme.netlify.app/components/).
......
/*!
* Copyright (c) 2021 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
*/
import 'eclipsefdn-solstice-assets'
\ No newline at end of file
This diff is collapsed.
......@@ -20,7 +20,7 @@
"postinstall": "NODE_ENV=production npm run production"
},
"dependencies": {
"eclipsefdn-hugo-solstice-theme": "0.0.115"
"eclipsefdn-hugo-solstice-theme": "0.0.129"
},
"browserslist": "last 5 version, > 0.2%, not dead, IE 11"
}
{
"/css/styles.css": "/css/styles.css",
"/js/solstice.js": "/js/solstice.js"
"/js/solstice.js": "/js/solstice.js",
"/css/styles.css": "/css/styles.css"
}
/*!
* Copyright (c) 2021 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
*/
mix = require('laravel-mix');
require('laravel-mix-transpile-node-modules')
mix.transpileNodeModules(['eclipsefdn-solstice-assets']);
mix.options({uglify: {uglifyOptions: {compress: false, output: {comments: true}}}});
mix.setPublicPath('static');
mix.setResourceRoot('../');
mix.less('./less/styles.less', 'static/css/styles.css');
mix.babel([
'./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/feather-icons/dist/feather.min.js',
'./node_modules/cookieconsent/src/cookieconsent.js',
'./node_modules/jquery-eclipsefdn-api/dist/jquery.eclipsefdn-api.min.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/js/solstice.js');
\ No newline at end of file
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