@zohodesk/react-cli 0.0.1-exp.176.11 → 0.0.1-exp.176.12

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # React CLI
2
2
 
3
3
  A CLI tool for build modern web application and libraries
4
+ # 0.0.1-exp.176.12
5
+ **Changes:**
6
+ * Earlier versions of react-cli, we have been putting video files under images folder in build output, now, we have moved the video files under videos folder in build output.
4
7
 
5
8
  # 0.0.1-exp.176.11
6
9
  **Issue Fix:**
@@ -183,7 +183,7 @@ module.exports = {
183
183
  fallback: _path.default.join(__dirname, '..', 'loaders', 'fileLoader.js')
184
184
  }
185
185
  }]
186
- }, (0, _configsAssetsLoaders.configVideoLoaderObj)(enableChunkHash ? './images/[name].[hash:20].[ext]' : './images/[name].[ext]'), {
186
+ }, (0, _configsAssetsLoaders.configVideoLoaderObj)(enableChunkHash ? './videos/[name].[hash:20].[ext]' : './videos/[name].[ext]'), {
187
187
  test: /\.woff2|\.woff$|\.ttf$|\.eot$/,
188
188
  use: [{
189
189
  loader: 'url-loader',
@@ -57,7 +57,7 @@ function configAudioLoader(nameTemplate) {
57
57
  function configVideoLoader(nameTemplate) {
58
58
  return {
59
59
  test: VidioExtRegex,
60
- use: createLoaderOptionQueryString('url-loader', `./images/${nameTemplate}`, 1)
60
+ use: createLoaderOptionQueryString('url-loader', `./videos/${nameTemplate}`, 1)
61
61
  };
62
62
  }
63
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/react-cli",
3
- "version": "0.0.1-exp.176.11",
3
+ "version": "0.0.1-exp.176.12",
4
4
  "description": "A CLI tool for build modern web application and libraries",
5
5
  "scripts": {
6
6
  "init": "node ./lib/utils/init.js",