How to use office-addin-dev-certs - 10 common examples

To help you get started, we’ve selected a few office-addin-dev-certs 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 OfficeDev / Office-Addin-TaskPane-JS / test / webpack.config.js View on Github external
filename: "taskpane.html",
                template: path.resolve(__dirname, './src/test-taskpane.html'),
                chunks: ["polyfill", "test"]
            }),
            new CopyWebpackPlugin([
                {
                    to: "taskpane.css",
                    from: path.resolve(__dirname, './../src/taskpane/taskpane.css')
                }
            ]),
        ],
        devServer: {
            headers: {
                "Access-Control-Allow-Origin": "*"
            },
            https: (options.https !== undefined) ? options.https : await devCerts.getHttpsServerOptions(),
            port: process.env.npm_package_config_dev_server_port || 3000
        }
    };

    return config;
};
github OfficeDev / PnP-OfficeAddins / Excel-custom-functions / Dialog / webpack.config.js View on Github external
{
          to: "taskpane.css",
          from: "./src/taskpane/taskpane.css"
        }
      ]),
      new HtmlWebpackPlugin({
        filename: "commands.html",
        template: "./src/commands/commands.html",
        chunks: ["polyfill", "commands"]
      })
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },
      https: await devCerts.getHttpsServerOptions(),
      port: 3000
    }
  };

  return config;
};
github OfficeDev / TrainingContent / OfficeAddin / 04 Building Add-ins for Microsoft Outlook / Demos / 03 Task Pane Experiences / webpack.config.js View on Github external
filename: "dialog.html",
        template: "./src/settings/dialog.html",
        chunks: ["polyfill", "dialog"]
      }),
      new CopyWebpackPlugin([
        {
          to: "dialog.css",
          from: "./src/settings/dialog.css"
        }
      ])
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },      
      https: (options.https !== undefined) ? options.https : await devCerts.getHttpsServerOptions(),
      port: process.env.npm_package_config_dev_server_port || 3000
    }
  };

  return config;
};
github OfficeDev / PnP-OfficeAddins / Excel-custom-functions / Batching / webpack.config.js View on Github external
{
          to: "taskpane.css",
          from: "./src/taskpane/taskpane.css"
        }
      ]),
      new HtmlWebpackPlugin({
        filename: "commands.html",
        template: "./src/commands/commands.html",
        chunks: ["polyfill", "commands"]
      })
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },
      https: await devCerts.getHttpsServerOptions(),
      port: 3000
    }
  };

  return config;
};
github OfficeDev / TrainingContent / OfficeAddin / 01 Building Add-ins for Microsoft Word / Demos / 02 Images HTML and Tables / webpack.config.js View on Github external
{
          to: "taskpane.css",
          from: "./src/taskpane/taskpane.css"
        }
      ]),
      new HtmlWebpackPlugin({
        filename: "commands.html",
        template: "./src/commands/commands.html",
        chunks: ["polyfill", "commands"]
      })
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },      
      https: (options.https !== undefined) ? options.https : await devCerts.getHttpsServerOptions(),
      port: process.env.npm_package_config_dev_server_port || 3000
    }
  };

  return config;
};
github OfficeDev / TrainingContent / OfficeAddin / 05 Using modern JavaScript / Demos / 01 Office Add-in using React / webpack.config.js View on Github external
new CopyWebpackPlugin([
          {
              from: './assets',
              ignore: ['*.scss'],
              to: 'assets',
          }
      ]),
      new webpack.ProvidePlugin({
        Promise: ["es6-promise", "Promise"]
      })
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },      
      https: (options.https !== undefined) ? options.https : await devCerts.getHttpsServerOptions(),
      port: process.env.npm_package_config_dev_server_port || 3000
    }
  };

  return config;
};
github OfficeDev / TrainingContent / OfficeAddin / 02 Building Add-ins for Microsoft Excel / Demos / 03 Dialogs / webpack.config.js View on Github external
new HtmlWebpackPlugin({
        filename: "commands.html",
        template: "./src/commands/commands.html",
        chunks: ["polyfill", "commands"]
      }),
      new HtmlWebpackPlugin({
        filename: "popup.html",
        template: "./src/dialogs/popup.html",
        chunks: ["polyfill", "popup"]
      })
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },      
      https: (options.https !== undefined) ? options.https : await devCerts.getHttpsServerOptions(),
      port: process.env.npm_package_config_dev_server_port || 3000
    }
  };

  return config;
};
github OfficeDev / Office-Addin-TaskPane-JS / webpack.config.js View on Github external
{
          to: "taskpane.css",
          from: "./src/taskpane/taskpane.css"
        }
      ]),
      new HtmlWebpackPlugin({
        filename: "commands.html",
        template: "./src/commands/commands.html",
        chunks: ["polyfill", "commands"]
      }),
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },
      https: await devCerts.getHttpsServerOptions(),
      port: 3000
    }
  };

  return config;
};
github OfficeDev / TrainingContent / OfficeAddin / 05 Using modern JavaScript / Demos / 03 Office Add-in using VueJS / webpack.config.js View on Github external
to: "taskpane.css",
          from: "./src/taskpane/taskpane.css"
        }
      ]),
      new HtmlWebpackPlugin({
        filename: "commands.html",
        template: "./src/commands/commands.html",
        chunks: ["polyfill", "commands"]
      }),
      new VueLoaderPlugin()
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },      
      https: (options.https !== undefined) ? options.https : await devCerts.getHttpsServerOptions(),
      port: process.env.npm_package_config_dev_server_port || 3000
    }
  };

  return config;
};
github OfficeDev / TrainingContent / OfficeAddin / 04 Building Add-ins for Microsoft Outlook / Demos / 01 Mail Add-ins Basics / webpack.config.js View on Github external
{
          to: "taskpane.css",
          from: "./src/taskpane/taskpane.css"
        }
      ]),
      new HtmlWebpackPlugin({
        filename: "commands.html",
        template: "./src/commands/commands.html",
        chunks: ["polyfill", "commands"]
      })
    ],
    devServer: {
      headers: {
        "Access-Control-Allow-Origin": "*"
      },      
      https: (options.https !== undefined) ? options.https : await devCerts.getHttpsServerOptions(),
      port: process.env.npm_package_config_dev_server_port || 3000
    }
  };

  return config;
};

office-addin-dev-certs

For managing certificates when developing Office Add-ins.

MIT
Latest version published 3 months ago

Package Health Score

83 / 100
Full package analysis

Popular office-addin-dev-certs functions