Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
fix: Minimal theme was missing in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Nov 27, 2020
1 parent c53ae44 commit 196cd00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions webpack.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const config = {
name: "Default Theme",

output: {
path: path.resolve(__dirname, "bin"),
filename: "default/assets/js/main.js",
path: path.resolve(__dirname, "bin", "default"),
filename: "assets/js/main.js",
},

module: {
Expand Down
14 changes: 7 additions & 7 deletions webpack.minimal.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const config = {
name: "Minimal Theme",

output: {
path: path.resolve(__dirname, "bin"),
filename: "minimal/assets/js/main.js",
path: path.resolve(__dirname, "bin", "minimal"),
filename: "assets/js/main.js",
},

module: {
Expand All @@ -24,7 +24,7 @@ const config = {

plugins: [
new MiniCssExtractPlugin({
filename: "minimal/assets/css/main.css",
filename: "assets/css/main.css",
}),
new CopyPlugin({
patterns: [
Expand All @@ -44,13 +44,13 @@ const config = {
new InlineAssetsPlugin({
patterns: [
{
from: "minimal/assets/js/main.js",
to: "minimal/layouts/default.hbs",
from: "assets/js/main.js",
to: "layouts/default.hbs",
pattern: "{{ JS }}",
},
{
from: "minimal/assets/css/main.css",
to: "minimal/layouts/default.hbs",
from: "assets/css/main.css",
to: "layouts/default.hbs",
pattern: "{{ CSS }}",
},
],
Expand Down

0 comments on commit 196cd00

Please sign in to comment.