Skip to content

Commit

Permalink
feat(build): use common build process (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomaash committed Feb 17, 2020
1 parent 36ccd59 commit da17378
Show file tree
Hide file tree
Showing 23 changed files with 3,467 additions and 260 deletions.
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -19,6 +19,7 @@
/.rpt2_cache

# built files
/babel-register/
/bin
/declarations
/dist
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.json
@@ -1,6 +1,6 @@
{
"extension": ["js", "ts"],
"require": ["./babel.require.js"],
"require": ["./babel-register"],
"spec": ["./test/**/*.test.*"],
"watch-files": ["./src/**/*", "./test/**/*"]
}
35 changes: 35 additions & 0 deletions @types/index.d.ts
Expand Up @@ -12,3 +12,38 @@ declare module "*.txt" {
const value: string;
export default value;
}

declare module "@rollup/plugin-strip" {
const value: any;
export default value;
}

declare module "chai-fs" {
const value: any;
export default value;
}

declare module "postcss-assets" {
const value: any;
export default value;
}

declare module "rollup-plugin-analyzer" {
const value: any;
export default value;
}

declare module "rollup-plugin-babel" {
const value: any;
export default value;
}

declare module "rollup-plugin-postcss" {
const value: any;
export default value;
}

declare module "rollup-plugin-string" {
export const string: any;
export default string;
}
4 changes: 4 additions & 0 deletions babel.config.js
@@ -0,0 +1,4 @@
module.exports = {
exclude: ["**/node_modules/**"],
presets: [["./babel-preset", { ts: true }]]
};
3 changes: 0 additions & 3 deletions babel.require.js

This file was deleted.

0 comments on commit da17378

Please sign in to comment.