How to use the fis3.project function in fis3

To help you get started, we’ve selected a few fis3 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fex-team / fis3-hook-commonjs / test / index.js View on Github external
describe('fis3-hook-commonjs ', function() {
  var root = path.join(__dirname, 'fis3_test_commonjs');
  fis.project.setProjectRoot(root);
  beforeEach(function() {
    // default settings. fis3 release
    var root2 = path.join(__dirname, 'xpy');
    _.del(root2);

    fis.match('*', {
      deploy: fis.plugin('local-deliver', {
        to: root2
      })
    });
    fis.media().set("namespaceConnector",":");
    
    hookSelf({
      baseUrl: ".",
      forwardDeclaration: true,//依赖前置,
      skipBuiltinModules: false,
github fex-team / fis3-postpackager-loader / test / index.js View on Github external
describe('fis3-postpackager-loader ', function() {
  var root = path.join(__dirname, 'source');
  fis.project.setProjectRoot(root);
  beforeEach(function() {
    fis.media().init();
    fis.config.init();
    var testfile = _(root, 'xpy');
    _.del(testfile);
  });

  it('useInlineMap:false', function() {
    fis.match('::packager', {
      postpackager: wrapLoader({
        allInOne: true,
        scriptPlaceHolder: "",
        stylePlaceHolder: '',
        resourcePlaceHolder: '',
        resourceType: 'auto',
        processor: {

fis3

fis 3.0

BSD-2-Clause
Latest version published 1 year ago

Package Health Score

52 / 100
Full package analysis