New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ferrugemjs-loader

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ferrugemjs-loader

ferrugemjs-node is a simple webpack loader to converte template HTML engine to google incremental-DOM js

  • 2.0.3
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ferrugemjs-loader

ferrugemjs-node is a simple webpack loader to converte template HTML engine to google incremental-DOM js.

NPM

Install

'npm install ferrugemjs-loader --save-dev'

Usage
//webpack.config.js 
module: {
    rules: [
        {
          test: /\.html$/
          ,loaders:[
		{ 
			loader: 'ferrugemjs-loader',
			options: {
				templateExtension:'.html', // default is '.html'
				env: 'production' // default is 'development'
			} 
		}
	   ]
        }
    ]
},
,resolve: {
    extensions: [".js",".html"]
    ,alias:{    		
    	"app":__dirname + '/src'
    	,"ferrugemjs":"ferrugemjs/dist/core"
    }    
}

to work with webpack there is 'ferrugemjs/platform' as a application bootstrapping.

import bootstrapper from "ferrugemjs/bootstrapper";

or

import platform from "ferrugemjs/platform";
import init_app from "./init-app";
 
platform
    .bootstrap(init_app)
    .at(
        document.getElementById("init_app_id")
    );

License

MIT License

Keywords

FAQs

Package last updated on 23 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc