Skip to content

Commit fa68fee

Browse files
committed
fixed webpack config
1 parent 1606854 commit fa68fee

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

config/webpack.common.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@ const devServer = require('./webpack.devServer.js');
1111
let config = null;
1212

1313
const plugin = ['@plugins/importPlugin.ts'];
14-
const points = [];
14+
const points = ['./index.ts'];
1515

16-
if (env.isDev)
17-
points.push('webpack/hot/dev-server');
18-
19-
points.push('./index.ts');
16+
if (env.isDev) { points.push('webpack/hot/dev-server'); }
2017

2118
if (env.isPlugin) {
2219
config = {

config/webpack.plugins.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ if (!env.isPlugin) {
6969
},
7070
'twitter-description': {
7171
name: 'twitter:description',
72-
content: 'Узнайте, как использовать Range Slider Fox'
73-
+ ' на нескольких практических демонстрациях',
72+
content: 'Узнайте, как использовать Range Slider Fox на нескольких практических демонстрациях',
7473
},
7574
'twitter-site': {
7675
name: 'twitter:site',
@@ -90,8 +89,7 @@ if (!env.isPlugin) {
9089
},
9190
'og-description': {
9291
property: 'og:description',
93-
content: 'Узнайте, как использовать Range Slider Fox'
94-
+ ' на нескольких практических демонстрациях',
92+
content: 'Узнайте, как использовать Range Slider Fox на нескольких практических демонстрациях',
9593
},
9694
'og-image': {
9795
property: 'og:image',
@@ -119,8 +117,7 @@ plugins.push(
119117
devMode: env.isPlugin ? true : env.isDev,
120118
appName: 'Plugin Range Slider Fox',
121119
appShortName: 'Range Slider Fox',
122-
appDescription: 'Узнайте, как использовать Range Slider Fox'
123-
+ ' на нескольких практических демонстрациях',
120+
appDescription: 'Узнайте, как использовать Range Slider Fox на нескольких практических демонстрациях',
124121
developerName: 'coder1',
125122
developerURL: 'https://github.com/coder1x/',
126123
icons: {

src/components/text-field/text-field.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mixin text-field(options)
1+
mixin text-field(options = {})
22
-
33
const {
44
label = '',

0 commit comments

Comments
 (0)