Skip to content

Commit 8e5557e

Browse files
authored
Merge pull request #25 from uicrooks/dev
v2.4.0
2 parents c546ef1 + c1f076d commit 8e5557e

File tree

12 files changed

+198
-612
lines changed

12 files changed

+198
-612
lines changed

.config/plugins/log/index.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

.config/plugins/reloadr/README.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.config/plugins/reloadr/reloadr.client.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

.config/plugins/reloadr/reloadr.config.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

.config/plugins/reloadr/reloadr.server.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

.config/plugins/shopify/theme.init.js

Lines changed: 0 additions & 128 deletions
This file was deleted.

.config/webpack/webpack.dev.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,12 @@ const { merge } = require('webpack-merge')
33
const ESLintPlugin = require('eslint-webpack-plugin')
44
const StylelintPlugin = require('stylelint-webpack-plugin')
55
const common = require('./webpack.common.js')
6-
const log = require('../plugins/log')
7-
8-
// initial console.log on development start
9-
log.box({
10-
msg: 'Shopify Theme Lab:\nStarting development',
11-
color: 'green'
12-
})
136

147
module.exports = merge(common, {
158
mode: 'development',
169
entry: [
1710
path.resolve(__dirname, '../../src/main.js'),
18-
path.resolve(__dirname, '../plugins/reloadr/reloadr.client.js') // add reloadr to the bundle
11+
path.resolve(__dirname, '../../node_modules/shopify-reloadr/client') // add reloadr to the bundle
1912
],
2013
module: {
2114
rules: [

.config/webpack/webpack.prod.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
const path = require('path')
22
const { merge } = require('webpack-merge')
3-
const common = require('./webpack.common.js')
43
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
54
const TerserPlugin = require('terser-webpack-plugin') // included in webpack 5, no need to add to package.json
65
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin')
7-
const log = require('../plugins/log')
8-
9-
// initial console.log on build start
10-
log.box({
11-
msg: 'Shopify Theme Lab:\nStarting build',
12-
color: 'green'
13-
})
6+
const common = require('./webpack.common.js')
147

158
module.exports = merge(common, {
169
mode: 'production',

0 commit comments

Comments
 (0)