Browse Source

No further need for a separate babel file and transpile step

JC Brand 7 years ago
parent
commit
907775d784
3 changed files with 1 additions and 18 deletions
  1. 0 9
      .babelrc
  2. 1 6
      Makefile
  3. 0 3
      builds/README.md

+ 0 - 9
.babelrc

@@ -1,9 +0,0 @@
-{
-  "presets": [
-    ["@babel/preset-env", {
-      "targets": {
-        "browsers": ["last 2 versions", "safari >= 10", "IE >= 11"]
-      }
-    }]
-  ]
-}

+ 1 - 6
Makefile

@@ -158,11 +158,6 @@ watch: dev
 watchjs: dev
 	./node_modules/.bin/npx  webpack --mode=development  --watch
 
-transpile: dev src
-	$(BABEL) --source-maps --out-dir=./builds ./src
-	$(BABEL) --source-maps --out-dir=./builds ./node_modules/backbone.vdomview/backbone.vdomview.js
-	touch transpile
-
 .PHONY: logo
 logo: logo/conversejs-transparent16.png \
       logo/conversejs-transparent19.png \
@@ -211,7 +206,7 @@ dist/converse-no-dependencies-es2015.js: src webpack.config.js stamp-npm
 dist:: build
 
 .PHONY: build
-build:: dev css transpile $(BUILDS)
+build:: dev css $(BUILDS)
 
 ########################################################################
 ## Tests

+ 0 - 3
builds/README.md

@@ -1,3 +0,0 @@
-This directory exists as a location for intermediate files generated by the
-Babel compiler, before they're bundled into distribution bundles in the
-`./dist/` directory.