devl
v2.0.0
Published
A development server.
Downloads
1
Readme
devl
A development server.
$ echo export default 'Hello world' > hello-world.js
$ echo import helloWorld from './hello-world'; alert(helloWorld) > hello-world-test.js
$ devl
Server is started on port 3333.
Then open http://localhost:3333/hello-world-test.devl
in your browser.
You will get this:
<!DOCTYPE html>
<html>
<head>
<title>hello-world-test</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=EDGE">
</head>
<body>
<script src="/hello-world-test.devl-bundle"></script>
</body>
</html>
Where /hello-world-test.devl-bundle
is:
(function () {
var helloWorld = 'Hello world';
alert(helloWorld);
}());
//# sourceMappingURL=/hello-world-test.devl-bundle.map
Enjoy!