1.1.30 • Published 7 years ago

atma-loader-babel v1.1.30

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Babel (6to5) Compiler (Atma Plugin)

Build Status

with proper stacktrace support

The Plugin extends:

How to use
Embed into the Project
  • atma plugin install atma-loader-babel

    	This adds `atma-loader-babel` npm dependency and the `package.json` would look like:
        {
            "dependencies": {
                "atma-loader-babel"
            },
            "atma": {
                "plugins": [
                    "atma-loader-babel"
                ],
                "settings": {
    						"atma-loader-babel": {
    							"extensions" : [ "es6" ]
    							"babel": {} // babel-compiler options
    						}
                }
            }
        }
  • That's all. Now, you are ready to use the 'next javascript' in your project

Quick Try
  • install atma: $ npm install atma -g
  • install plugin: $ atma plugin install atma-loader-babel --save
  • add test.html to the directory

    <!DOCTYPE html>
    <script src='test.es6'></script>
  • add test.es6

    setInterval(() => document.body.textContent += ".. itworks ..", 200);
  • start the server: $ atma server
  • open the browser: http://localhost:5777/test.html

The MIT License

1.1.30

7 years ago

1.1.29

7 years ago

1.1.28

7 years ago

1.1.27

7 years ago

1.1.26

8 years ago

1.0.26

8 years ago

1.0.25

8 years ago

1.0.24

8 years ago

1.0.23

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

9 years ago