Skip to content
Snippets Groups Projects
Commit eabb3ace authored by Eric Poirier's avatar Eric Poirier
Browse files

Update solstice theme and webpack


Signed-off-by: default avatarEric Poirier <eric.poirier@eclipse-foundation.org>
parent 2f13797f
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"postinstall": "cross-env NODE_ENV=production npm run production" "postinstall": "cross-env NODE_ENV=production npm run production"
}, },
"dependencies": { "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", "browserslist": "last 5 version, > 0.2%, not dead, IE 11",
"devDependencies": { "devDependencies": {
......
...@@ -11,9 +11,10 @@ ...@@ -11,9 +11,10 @@
* SPDX-License-Identifier: EPL-2.0 * SPDX-License-Identifier: EPL-2.0
*/ */
mix = require("laravel-mix"); require('./node_modules/eclipsefdn-solstice-assets/webpack-solstice-assets.mix.js');
require("laravel-mix-transpile-node-modules"); let mix = require('laravel-mix');
mix.transpileNodeModules(["eclipsefdn-solstice-assets"]); mix.EclipseFdnSolsticeAssets();
mix.options({ mix.options({
uglify: { uglifyOptions: { compress: false, output: { comments: true } } }, uglify: { uglifyOptions: { compress: false, output: { comments: true } } },
}); });
...@@ -21,14 +22,6 @@ mix.options({ ...@@ -21,14 +22,6 @@ mix.options({
mix.setPublicPath("static"); mix.setPublicPath("static");
mix.setResourceRoot("../"); mix.setResourceRoot("../");
mix.webpackConfig({
resolve: {
alias: {
jquery: "jquery/src/jquery",
},
},
});
mix.less("./less/styles.less", "static/css/styles.css"); mix.less("./less/styles.less", "static/css/styles.css");
mix.js('js/main.js', './static/js/solstice.js'); mix.js('js/main.js', './static/js/solstice.js');
\ No newline at end of file
yarn.lock 0 → 100644
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment