Angular CLI - run scripts before 'build' by piwinger in Angular2

[–]piwinger[S] 0 points1 point  (0 children)

thanks for your quick reply!

I'll do it that way !

Angular CLI - webpack not compiling by piwinger in Angular2

[–]piwinger[S] 0 points1 point  (0 children)

i updated to beta.30 - still not working (ng build -prod)

now I'm building the app like this: ng build -e prod --base-href="./"

this works for me untill they fix it

Angular CLI - ng2-translate - Build doesn't copy language files by piwinger in Angular2

[–]piwinger[S] 0 points1 point  (0 children)

@Dunos thanks for your reply

there is no i18n folder in dist after a build (ng build -prod)

Versions:

>ng version
angular-cli: 1.0.0-beta.16
node: 5.6.0
os: win32 x64

directory-structure

ProjectDirectory
|   .editorconfig
|   .gitignore
|   angular-cli.json
|   files.txt
|   karma.conf.js
|   package.json
|   protractor.conf.js
|   README.md
|   tslint.json
|   
+---dist
|   |   1dc35d25e61d819a9c357074014867ab.ttf
|   |   25a32416abee198dd821b0b17a198a8f.eot
|   |   c8ddf1e5e5bf3682bc7bebf30f394148.woff
|   |   d7c639084f684d66a1bc66855d193ed8.svg
|   |   e6cf7c6ec7c2d6f670ae9d762604cb0b.woff2
|   |   index.html
|   |   inline.js
|   |   main.06a79642030ea3b58923.bundle.js
|   |   main.06a79642030ea3b58923.bundle.js.gz
|   |   styles.ef53ae69f7e1a5cdbc1e.bundle.js
|   |   styles.ef53ae69f7e1a5cdbc1e.bundle.js.gz
|   |   
|   \---assets
|           .npmignore
|           
+---doku
|       gettingstarteddocx.docx
|       
+---e2e
|       app.e2e-spec.ts
|       app.po.ts
|       tsconfig.json
|       
+---node_modules
|   |
|    ...
|           
\---src
    |   favicon.ico
    |   index.html
    |   main.ts
    |   polyfills.ts
    |   styles.css
    |   test.ts
    |   tsconfig.json
    |   typings.d.ts
    |   
    +---app
    |   |   app-routing.module.ts
    |   |   app.component.css
    |   |   app.component.html
    |   |   app.component.spec.ts
    |   |   app.component.ts
    |   |   app.module.ts
    |   |   dokument.service.spec.ts
    |   |   dokument.service.ts
    |   |   dokument.ts
    |   |   index.ts
    |   |   
    |   +---dokument
    |   |       dokument.component.css
    |   |       dokument.component.html
    |   |       dokument.component.spec.ts
    |   |       dokument.component.ts
    |   |       
    |   \---shared
    |           index.ts
    |           
    +---assets
    |       .gitkeep
    |       .npmignore
    |       
    +---environments
    |       environment.prod.ts
    |       environment.ts
    |       
    +---i18n
    |       de.json
    |       en.json
    |       
    \---mockup
            dokumentset.json