Skip to content

Commit

Permalink
chore: copy circleci config file to dist (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
orzyyyy committed Apr 18, 2019
1 parent 8cd0f9a commit d8dbed1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/dekko-dist.js
Expand Up @@ -4,6 +4,7 @@ const chalk = require('chalk');
try {
$('dist/lib')
.isDirectory()
.hasDirectory('.circleci')
.hasFile('canvas.js')
.hasFile('toolbar.js');
} catch (error) {
Expand Down
9 changes: 9 additions & 0 deletions scripts/nino.koei.js
@@ -1,5 +1,6 @@
const path = require('path');
const cwd = process.cwd();
const CopyWebpackPlugin = require('copy-webpack-plugin');

module.exports = {
mode: 'development',
Expand All @@ -14,4 +15,12 @@ module.exports = {
filename: '[name].js',
libraryTarget: 'umd',
},
plugins: [
new CopyWebpackPlugin([
{
from: path.join(process.cwd(), '.circleci/config.yml'),
to: path.join(process.cwd(), 'dist/.circleci/config.yml'),
},
]),
],
};

0 comments on commit d8dbed1

Please sign in to comment.