@nlabs/lex 1.51.5 → 1.51.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nlabs/lex",
3
- "version": "1.51.5",
3
+ "version": "1.51.6",
4
4
  "description": "Lex",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/webpack.config.js CHANGED
@@ -155,26 +155,31 @@ const fontPath = `${sourceFullPath}/fonts/`;
155
155
  const docPath = `${sourceFullPath}/docs/`;
156
156
 
157
157
  const staticPathFull = pathResolve(process.cwd(), webpackStaticPath);
158
+
158
159
  if(existsSync(staticPathFull)) {
159
160
  staticPaths.push({
160
161
  from: staticPathFull,
162
+ globOptions: {
163
+ ignore: ['**/.DS_Store']
164
+ },
165
+ noErrorOnMissing: true,
161
166
  to: './'
162
167
  });
163
168
  watchIgnorePaths.push(staticPathFull);
164
169
  }
165
170
 
166
171
  if(existsSync(imagePath)) {
167
- staticPaths.push({from: imagePath, to: './images/'});
172
+ staticPaths.push({from: imagePath, noErrorOnMissing: true, to: './images/'});
168
173
  watchIgnorePaths.push(imagePath);
169
174
  }
170
175
 
171
176
  if(existsSync(fontPath)) {
172
- staticPaths.push({from: fontPath, to: './fonts/'});
177
+ staticPaths.push({from: fontPath, noErrorOnMissing: true, to: './fonts/'});
173
178
  watchIgnorePaths.push(fontPath);
174
179
  }
175
180
 
176
181
  if(existsSync(docPath)) {
177
- staticPaths.push({from: docPath, to: './docs/'});
182
+ staticPaths.push({from: docPath, noErrorOnMissing: true, to: './docs/'});
178
183
  }
179
184
 
180
185
  if(staticPaths.length) {