Created
July 23, 2016 03:05
-
-
Save jasonliao/7a9af5036d71cd9c096833cc602eb2f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fis.match('/src/**.js', { | |
parser: fis.plugin('babel-5.x', { | |
optional: ["es7.decorators", "es7.classProperties"], | |
stage: 0 | |
}), | |
rExt: '.js' | |
}); | |
fis.match('*.scss', { | |
parser: fis.plugin('node-sass'), | |
rExt: '.css' | |
}); | |
fis.hook('commonjs', { | |
extList: ['.js'] | |
}); | |
fis.unhook('components'); | |
fis.hook('node_modules'); | |
fis.match('{/src/**.js, /node_modules/**.js}', { | |
isMod: true, | |
preprocessor: fis.plugin('js-require-css') | |
}); | |
fis.match('::package', { | |
postpackager: fis.plugin('loader') | |
}); | |
fis.get('project.ignore').push('dist/**'); | |
fis.get('project.ignore').push('package.json'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment