@papillonarts/setup 0.12.0 → 0.13.0

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": "@papillonarts/setup",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Papillon Arts Setup",
5
5
  "homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
6
6
  "repository": {
@@ -31,5 +31,5 @@
31
31
  "build-acceptance": "npm run build",
32
32
  "build-release": "npm run build"
33
33
  },
34
- "gitHead": "a3d3650b3ada16291938971ccb30fa08dfb71b33"
34
+ "gitHead": "bb268fb3b282a79414f1724397ceafc488b765df"
35
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/webpack/constant/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAW,CAAA;AAErC,eAAO,MAAM,cAAc;;;;CAe1B,CAAA;AAED,eAAO,MAAM,gBAAgB,kBAAkB,CAAA;AAE/C,eAAO,MAAM,aAAa,eAAe,CAAA;AAEzC,eAAO,MAAM,UAAU,UAAoC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/webpack/constant/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAW,CAAA;AAErC,eAAO,MAAM,cAAc;;;;CAe1B,CAAA;AAED,eAAO,MAAM,gBAAgB,kBAAkB,CAAA;AAE/C,eAAO,MAAM,aAAa,eAAe,CAAA;AAEzC,eAAO,MAAM,UAAU,UAAmD,CAAA"}
@@ -12,4 +12,4 @@ var targetBrowsers = exports.targetBrowsers = {
12
12
  };
13
13
  var manifestFileName = exports.manifestFileName = 'manifest.json';
14
14
  var indexHTMLName = exports.indexHTMLName = 'index.html';
15
- var extensions = exports.extensions = ['.js', '.jsx', '.json', '.scss'];
15
+ var extensions = exports.extensions = ['.js', '.jsx', '.ts', '.tsx', '.json', '.scss'];
@@ -9,7 +9,7 @@ var _constant = require("../constant");
9
9
 
10
10
  function getBabelLoaderAdvancedSetup() {
11
11
  return {
12
- test: /\.(js|jsx)$/,
12
+ test: /\.(js|jsx|ts|tsx)$/,
13
13
  exclude: /node_modules/,
14
14
  use: {
15
15
  loader: 'babel-loader',
@@ -18,7 +18,7 @@ function getWebpackCommonSetup(_ref) {
18
18
  var micrositeFolderPaths = _ref.micrositeFolderPaths,
19
19
  packageJSON = _ref.packageJSON;
20
20
  return {
21
- entry: ["".concat(micrositeFolderPaths.src, "/index.js")],
21
+ entry: ["".concat(micrositeFolderPaths.src, "/index.ts")],
22
22
  plugins: [(0, _cleanWebpackPlugin.getCleanWebpackPluginStandardSetup)(), (0, _copyWebpackPlugin.getCopyWebpackPluginStandardSetup)({
23
23
  from: micrositeFolderPaths["public"],
24
24
  to: 'assets'