Skip to content

A amd preprocessor for fisx to wrap commonjs module using amd style

Notifications You must be signed in to change notification settings

fisx-suite/fisx-preprocessor-amd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fisx-preprocessor-amd

Dependency Status devDependency Status NPM Version

A preprocessor to wrap module code using amd style.

How to use

Install

npm install fisx-preprocessor-amd --save-dev

Add configure to fis-conf.js

fis.match('/src/**.js', {
    preprocessor: fis.plugin('amd')
});

Options

  • disableWrap - boolean optional: if the processed file has disableWrap configure with true, the preprocessor will ignore this file

  • clearCssRequire - boolean optional: whether remove the css file require declaration, by default false

About

A amd preprocessor for fisx to wrap commonjs module using amd style

Resources

Stars

Watchers

Forks

Packages

No packages published