Skip to content

jiangtj-lab/hexo-bundler-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-bundler-js

Only for test

yarn add @jiangtj/hexo-bundler-js

example

  1. add config
bundler_js:
  code:
    'test.js': test.js
    # file name: file path (base hexo.base_dir)
  1. create js file test.js in base_dir
console.log("Hi, hello world!")

output:

# hexo g
INFO  Generated: js/bundler.83d361b48c5e39986c9fbb461c6a9970.js

# html file
<!-- hexo injector body_end start -->
<script src="/js/bundler.83d361b48c5e39986c9fbb461c6a9970.js" defer></script>
<!-- hexo injector body_end end -->

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published