Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
🐶Bolt authored and 🐶Bolt committed Jan 24, 2018
1 parent 5596cf8 commit 0d62bdd
Show file tree
Hide file tree
Showing 9 changed files with 849 additions and 246 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,3 @@
module.exports = {
parser: 'babel-eslint'
};
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,3 +1,5 @@
.cache
dist
node_modules
#.gitignore
#index.js
Expand Down
17 changes: 17 additions & 0 deletions examples/index.html
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>

<body>
<div>123121</div>
<div id="app"></div>
<script src="./index.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions examples/index.js
@@ -0,0 +1 @@
console.log('Hello);
2 changes: 1 addition & 1 deletion index.js
@@ -1,4 +1,4 @@
module.exports = function (bundler) {
bundler.addAssetType('js', require.resolve('./MyAsset'));
bundler.addAssetType('js', require.resolve('./src/EslintAsset.js'));
// bundler.addPackager('vue', require.resolve('./MyPackager'));
};

0 comments on commit 0d62bdd

Please sign in to comment.